1 // RUN: %clang -target i386 -### -no-integrated-as -c %s 2>&1 \
2 // RUN: | FileCheck %s -check-prefix NOIAS
4 // NOIAS: -no-integrated-as
6 // RUN: %clang -target i386 -### -integrated-as -c %s 2>&1 \
7 // RUN: | FileCheck %s -check-prefix IAS
9 // IAS-NOT: -no-integrated-as
11 // RUN: %clang -target i386 -### -c %s 2>&1 | FileCheck %s -check-prefix DEFAULT
12 // RUN: %clang -target msp430 -### -c %s 2>&1 | FileCheck %s -check-prefix DEFAULT
14 // DEFAULT-NOT: -no-integrated-as
16 /// -c omitted on purpose, this used to crash.
17 // RUN: not %clang --target=x86_64-sie-ps5 -### -no-integrated-as %s 2>&1 \
18 // RUN: | FileCheck %s -check-prefix PS5
19 // RUN: not %clang --target=x86_64-sie-ps5 -### -no-integrated-as -x assembler %s 2>&1 \
20 // RUN: | FileCheck %s -check-prefix PS5
21 // PS5: there is no external assembler that can be used on this platform