Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 1 | // RUN: %clang -target i386 -### -no-integrated-as -c %s 2>&1 \ |
| 2 | // RUN: | FileCheck %s -check-prefix NOIAS |
| 3 | |
| 4 | // NOIAS: -no-integrated-as |
| 5 | |
| 6 | // RUN: %clang -target i386 -### -integrated-as -c %s 2>&1 \ |
| 7 | // RUN: | FileCheck %s -check-prefix IAS |
| 8 | |
| 9 | // IAS-NOT: -no-integrated-as |
| 10 | |
| 11 | // RUN: %clang -target i386 -### -c %s 2>&1 | FileCheck %s -check-prefix DEFAULT |
| 12 | |
| 13 | // DEFAULT-NOT: -no-integrated-as |
| 14 | |
| 15 | // RUN: %clang -target msp430 -### -c %s 2>&1 \ |
| 16 | // RUN: | FileCheck %s -check-prefix NO-IAS-DEFAULT |
| 17 | |
| 18 | // NO-IAS-DEFAULT: -no-integrated-as |
| 19 | |