Simon Atanasyan | 6f23fa0 | 2012-07-05 14:19:39 +0000 | [diff] [blame^] | 1 | // 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" |