blob: 038b718098ab4a3c55771a6f2b5ddbbfd66411e9 [file] [log] [blame]
Simon Atanasyan6f23fa02012-07-05 14:19:39 +00001// Check handling MIPS specific features options.
2//
3// -mips16
4// RUN: %clang -target mips-linux-gnu -### -c %s \
5// RUN: -mno-mips16 -mips16 2>&1 \
6// RUN: | FileCheck --check-prefix=CHECK-MIPS16 %s
7// CHECK-MIPS16: "-target-feature" "+mips16"
8//
9// -mno-mips16
10// RUN: %clang -target mips-linux-gnu -### -c %s \
11// RUN: -mips16 -mno-mips16 2>&1 \
12// RUN: | FileCheck --check-prefix=CHECK-NOMIPS16 %s
13// CHECK-NOMIPS16: "-target-feature" "-mips16"