Sebastian Pop | 422377c | 2012-01-20 22:01:23 +0000 | [diff] [blame^] | 1 | // RUN: %clang -### -x objective-c -target 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 |
| 2 | // RUN: %clang -### -x objective-c -target 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 |
John McCall | 17b4c83 | 2011-06-16 01:18:08 +0000 | [diff] [blame] | 3 | // |
John McCall | 31168b0 | 2011-06-15 23:02:42 +0000 | [diff] [blame] | 4 | |
John McCall | 24fc0de | 2011-07-06 00:26:06 +0000 | [diff] [blame] | 5 | // CHECK-OPTIONS1-NOT: -fobjc-runtime-has-weak |
Eli Friedman | 5ceb74a | 2012-01-16 18:50:54 +0000 | [diff] [blame] | 6 | // CHECK-OPTIONS2: "-triple" "i386-apple-ios5.0.0" |
John McCall | 24fc0de | 2011-07-06 00:26:06 +0000 | [diff] [blame] | 7 | // CHECK-OPTIONS2: -fobjc-runtime-has-weak |