blob: 0c6404e323defb0022c7392d03ff9fe022302779 [file] [log] [blame]
Fariborz Jahanian73223bb2012-04-02 15:59:19 +00001// RUN: %clang -no-canonical-prefixes -target x86_64-apple-macosx10.7.0 -rewrite-legacy-objc %s -o - -### 2>&1 | \
2// RUN: FileCheck -check-prefix=TEST0 %s
3// TEST0: clang{{.*}}" "-cc1"
4// TEST0: "-rewrite-objc"
5// FIXME: CHECK-NOT is broken somehow, it doesn't work here. Check adjacency instead.
Fariborz Jahanianff6c97c2013-11-12 20:50:26 +00006// TEST0: "-fmessage-length" "0" "-stack-protector" "1" "-mstackrealign" "-fblocks" "-fobjc-runtime=macosx-fragile" "-fencode-extended-block-signature" "-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fexceptions" "-fdiagnostics-show-option"
Fariborz Jahanian73223bb2012-04-02 15:59:19 +00007// TEST0: rewrite-legacy-objc.m"
Fariborz Jahanianfd4ce192013-11-12 17:08:46 +00008// RUN: %clang -no-canonical-prefixes -target i386-apple-macosx10.9.0 -rewrite-legacy-objc %s -o - -### 2>&1 | \
9// RUN: FileCheck -check-prefix=TEST1 %s
Fariborz Jahanianff6c97c2013-11-12 20:50:26 +000010// RUN: %clang -no-canonical-prefixes -target i386-apple-macosx10.6.0 -rewrite-legacy-objc %s -o - -### 2>&1 | \
11// RUN: FileCheck -check-prefix=TEST2 %s
Fariborz Jahanianfd4ce192013-11-12 17:08:46 +000012// TEST1: "-fmessage-length" "0" "-stack-protector" "1" "-mstackrealign" "-fblocks" "-fobjc-runtime=macosx-fragile" "-fobjc-subscripting-legacy-runtime" "-fencode-extended-block-signature" "-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fdiagnostics-show-option"
Fariborz Jahanianff6c97c2013-11-12 20:50:26 +000013// TEST2: "-fmessage-length" "0" "-stack-protector" "1" "-mstackrealign" "-fblocks" "-fobjc-runtime=macosx-fragile" "-fencode-extended-block-signature" "-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fdiagnostics-show-option"