1// RUN: %clang -target armv7--none-eabi -### %s 2>&1 \ 2// RUN: | FileCheck %s -check-prefix CHECK-DEFAULT 3 4// RUN: %clang -target armv7--none-eabi -mimplicit-it=arm -### %s 2>&1 \ 5// RUN: | FileCheck %s -check-prefix CHECK-ARM 6 7// RUN: %clang -target armv7--none-eabi -mimplicit-it=thumb -### %s 2>&1 \ 8// RUN: | FileCheck %s -check-prefix CHECK-THUMB 9 10// RUN: %clang -target armv7--none-eabi -mimplicit-it=never -### %s 2>&1 \ 11// RUN: | FileCheck %s -check-prefix CHECK-NEVER 12 13// RUN: %clang -target armv7--none-eabi -mimplicit-it=always -### %s 2>&1 \ 14// RUN: | FileCheck %s -check-prefix CHECK-ALWAYS 15 16// RUN: %clang -target armv7--none-eabi -mimplicit-it=thisisnotavalidoption -### %s 2>&1 \ 17// RUN: | FileCheck %s -check-prefix CHECK-INVALID 18 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=' 25