1 // RUN
: %clang
-target armv7-
-none-eabi
-### %s 2>&1 \
2 // RUN
: | FileCheck
%s
-check-prefix CHECK-DEFAULT
4 // RUN
: %clang
-target armv7-
-none-eabi
-mimplicit-it
=arm
-### %s 2>&1 \
5 // RUN
: | FileCheck
%s
-check-prefix CHECK-ARM
7 // RUN
: %clang
-target armv7-
-none-eabi
-mimplicit-it
=thumb
-### %s 2>&1 \
8 // RUN
: | FileCheck
%s
-check-prefix CHECK-THUMB
10 // RUN
: %clang
-target armv7-
-none-eabi
-mimplicit-it
=never
-### %s 2>&1 \
11 // RUN
: | FileCheck
%s
-check-prefix CHECK-NEVER
13 // RUN
: %clang
-target armv7-
-none-eabi
-mimplicit-it
=always
-### %s 2>&1 \
14 // RUN
: | FileCheck
%s
-check-prefix CHECK-ALWAYS
16 // RUN
: not %clang
--target
=armv7-
-none-eabi
-mimplicit-it
=thisisnotavalidoption
-### %s 2>&1 \
17 // RUN
: | FileCheck
%s
-check-prefix CHECK-INVALID
19 // CHECK-DEFAULT-
NOT: "-arm-implicit-it
20 // CHECK-ARM: "-arm-implicit-it
=arm
"
21 // CHECK-THUMB: "-arm-implicit-it
=thumb
"
22 // CHECK-NEVER: "-arm-implicit-it
=never
"
23 // CHECK-ALWAYS: "-arm-implicit-it
=always
"
24 // CHECK-INVALID: error: unsupported argument 'thisisnotavalidoption' to option '-mimplicit-it='