diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2013-03-05 11:20:04 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2013-03-05 11:20:04 +0000 |
commit | ebed32cfd82aa48ac3cba034fc11f8602b2f7233 (patch) | |
tree | 2b81bd549441089f5ea7dc5c6a186b1ef1fbfe88 | |
parent | 3c5cd15da59d084ee441ac1512907a73f0e1f2bd (diff) |
Add a test that we are passing the -fobjc-default-synthesize flag for Apple and
non-Apple platforms.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176477 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/objc_default_synth.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/objc_default_synth.m b/test/Driver/objc_default_synth.m new file mode 100644 index 0000000000..a8c7f7e546 --- /dev/null +++ b/test/Driver/objc_default_synth.m @@ -0,0 +1,6 @@ +// We should be synthesizing properties by default on all platforms now. +// RUN: %clang -### -target armv7-unknown-freebsd %s 2>&1 | FileCheck %s +// RUN: %clang -### -target armv7-apple-ios %s 2>&1 | FileCheck %s +// RUN: %clang -### -target i686-apple-macosx %s 2>&1 | FileCheck %s +// REQUIRES: clang-driver +// CHECK: -fobjc-default-synthesize |