blob: dc7a3a3e67714a778bc33ab72f668b9f46032bf3 [file] [log] [blame]
Sebastian Pop9ec60df2012-01-20 22:01:23 +00001// 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 McCall5861b4b2011-06-16 01:18:08 +00003//
John McCallf85e1932011-06-15 23:02:42 +00004
John McCall9f084a32011-07-06 00:26:06 +00005// CHECK-OPTIONS1-NOT: -fobjc-runtime-has-weak
Eli Friedman100d0412012-01-16 18:50:54 +00006// CHECK-OPTIONS2: "-triple" "i386-apple-ios5.0.0"
John McCall9f084a32011-07-06 00:26:06 +00007// CHECK-OPTIONS2: -fobjc-runtime-has-weak