| Fariborz Jahanian | 73223bb | 2012-04-02 15:59:19 +0000 | [diff] [blame] | 1 | // 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 Jahanian | ff6c97c | 2013-11-12 20:50:26 +0000 | [diff] [blame] | 6 | // 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 Jahanian | 73223bb | 2012-04-02 15:59:19 +0000 | [diff] [blame] | 7 | // TEST0: rewrite-legacy-objc.m" |
| Fariborz Jahanian | fd4ce19 | 2013-11-12 17:08:46 +0000 | [diff] [blame] | 8 | // 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 Jahanian | ff6c97c | 2013-11-12 20:50:26 +0000 | [diff] [blame] | 10 | // 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 Jahanian | fd4ce19 | 2013-11-12 17:08:46 +0000 | [diff] [blame] | 12 | // 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 Jahanian | ff6c97c | 2013-11-12 20:50:26 +0000 | [diff] [blame] | 13 | // 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" |