diff options
author | John McCall <rjmccall@apple.com> | 2011-06-16 01:18:08 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-06-16 01:18:08 +0000 |
commit | 17b4c83c919a3220242ff11c2218453ff53376c9 (patch) | |
tree | 3e1267d2184bfb1ab9e09a2e4d9dfb73830940d8 /clang/test/Driver/ios-simulator-arcruntime.c | |
parent | 6d677cfdd88d89348f132b723d5796628fcbd15e (diff) | |
download | bcm5719-llvm-17b4c83c919a3220242ff11c2218453ff53376c9.tar.gz bcm5719-llvm-17b4c83c919a3220242ff11c2218453ff53376c9.zip |
Make this test pretend to be on a darwin host.
llvm-svn: 133125
Diffstat (limited to 'clang/test/Driver/ios-simulator-arcruntime.c')
-rw-r--r-- | clang/test/Driver/ios-simulator-arcruntime.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/Driver/ios-simulator-arcruntime.c b/clang/test/Driver/ios-simulator-arcruntime.c index 7ecb34363a5..d35fe67a74e 100644 --- a/clang/test/Driver/ios-simulator-arcruntime.c +++ b/clang/test/Driver/ios-simulator-arcruntime.c @@ -1,5 +1,6 @@ -// RUN: %clang -### -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40201 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s -// RUN: %clang -### -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s +// RUN: %clang -### -ccc-host-triple i386-apple-darwin10 -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40201 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s +// RUN: %clang -### -ccc-host-triple i386-apple-darwin10 -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s +// // CHECK-OPTIONS1: -fobjc-no-arc-runtime // CHECK-OPTIONS2-NOT: -fobjc-no-arc-runtime |