22 lines · c
1// RUN: %clang -target i386 -### -no-integrated-as -c %s 2>&1 \2// RUN: | FileCheck %s -check-prefix NOIAS3 4// NOIAS: -no-integrated-as5 6// RUN: %clang -target i386 -### -integrated-as -c %s 2>&1 \7// RUN: | FileCheck %s -check-prefix IAS8 9// IAS-NOT: -no-integrated-as10 11// RUN: %clang -target i386 -### -c %s 2>&1 | FileCheck %s -check-prefix DEFAULT12// RUN: %clang -target msp430 -### -c %s 2>&1 | FileCheck %s -check-prefix DEFAULT13 14// DEFAULT-NOT: -no-integrated-as15 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 PS519// RUN: not %clang --target=x86_64-sie-ps5 -### -no-integrated-as -x assembler %s 2>&1 \20// RUN: | FileCheck %s -check-prefix PS521// PS5: there is no external assembler that can be used on this platform22