blob: b0b78d00817a272f13c56969a86fa35709305455 [file] [log] [blame]
Fariborz Jahanian582b3952012-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.
Stephen Hines176edba2014-12-01 14:53:08 -08006// 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" "-fmax-type-align=16" "-fdiagnostics-show-option"
Fariborz Jahanian582b3952012-04-02 15:59:19 +00007// TEST0: rewrite-legacy-objc.m"
Fariborz Jahanian5d5058c2013-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 Jahanian08d86e92013-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
Stephen Hines176edba2014-12-01 14:53:08 -080012// 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" "-fmax-type-align=16" "-fdiagnostics-show-option"
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" "-fmax-type-align=16" "-fdiagnostics-show-option"