Add a test that we are passing the -fobjc-default-synthesize flag for Apple and

non-Apple platforms.

llvm-svn: 176477
This commit is contained in:
David Chisnall 2013-03-05 11:20:04 +00:00
parent 49af629057
commit 87aeeecc65
1 changed files with 6 additions and 0 deletions

View File

@ -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