blob: 9bf2091fed5df328b28ba8d74b81eda72e528b9e [file] [log] [blame]
Sebastian Popedd4f3c2012-01-13 20:37:02 +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
6// CHECK-OPTIONS2: -fobjc-runtime-has-weak