[cfe-commits] r164994 - /cfe/trunk/test/SemaObjC/nonarc-weak.m

Benjamin Kramer benny.kra at googlemail.com
Tue Oct 2 02:29:48 PDT 2012


Author: d0k
Date: Tue Oct  2 04:29:48 2012
New Revision: 164994

URL: http://llvm.org/viewvc/llvm-project?rev=164994&view=rev
Log:
Force triple in test to unbreak it on non-darwin platforms.

Modified:
    cfe/trunk/test/SemaObjC/nonarc-weak.m

Modified: cfe/trunk/test/SemaObjC/nonarc-weak.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/nonarc-weak.m?rev=164994&r1=164993&r2=164994&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/nonarc-weak.m (original)
+++ cfe/trunk/test/SemaObjC/nonarc-weak.m Tue Oct  2 04:29:48 2012
@@ -1,5 +1,5 @@
-// RUN: %clang -fsyntax-only -Wunused-function %s > %t.nonarc 2>&1
-// RUN: %clang -fsyntax-only -Wunused-function -fobjc-arc %s > %t.arc 2>&1
+// RUN: %clang_cc1 -triple x86_64-apple-macosx10.8.0 -fobjc-runtime=macosx-10.8.0 -fsyntax-only -Wunused-function %s > %t.nonarc 2>&1
+// RUN: %clang_cc1 -triple x86_64-apple-macosx10.8.0 -fobjc-runtime=macosx-10.8.0 -fsyntax-only -Wunused-function -fobjc-arc %s > %t.arc 2>&1
 // RUN: FileCheck -input-file=%t.nonarc %s
 // RUN: FileCheck -input-file=%t.arc -check-prefix=ARC %s
 





More information about the cfe-commits mailing list