blob: 00cc2b5ac7856f9200e65bdd98697684060f5e5c [file] [log] [blame]
Eli Friedman31cbe682012-01-13 21:33:06 +00001// RUN: %clang -### -x objective-c -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
2// RUN: %clang -### -x objective-c -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
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