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

David Chisnall csdavec at swan.ac.uk
Tue Mar 5 03:20:04 PST 2013


Author: theraven
Date: Tue Mar  5 05:20:04 2013
New Revision: 176477

URL: http://llvm.org/viewvc/llvm-project?rev=176477&view=rev
Log:
Add a test that we are passing the -fobjc-default-synthesize flag for Apple and
non-Apple platforms.


Added:
    cfe/trunk/test/Driver/objc_default_synth.m

Added: cfe/trunk/test/Driver/objc_default_synth.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/objc_default_synth.m?rev=176477&view=auto
==============================================================================
--- cfe/trunk/test/Driver/objc_default_synth.m (added)
+++ cfe/trunk/test/Driver/objc_default_synth.m Tue Mar  5 05:20:04 2013
@@ -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





More information about the cfe-commits mailing list