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 | 5861b4b4ba13a3feedb9544e94d9d0bc4296662c (patch) | |
tree | 239ff0bdc883659293e0f73e0856ea915a99baff | |
parent | 0f4c4c4445b194db6a086ea91ec8e7af963a456c (diff) |
Make this test pretend to be on a darwin host.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133125 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/ios-simulator-arcruntime.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Driver/ios-simulator-arcruntime.c b/test/Driver/ios-simulator-arcruntime.c index 7ecb34363a..d35fe67a74 100644 --- a/test/Driver/ios-simulator-arcruntime.c +++ b/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 |