xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/systemz-as.s (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc// Make sure SystemZ defaults to using the integrated assembler
2*0a6a1f1dSLionel Sambuc
3*0a6a1f1dSLionel Sambuc// RUN: %clang -target s390x-ibm-linux -### -c %s 2>&1 \
4*0a6a1f1dSLionel Sambuc// RUN: | FileCheck -check-prefix=IAS %s
5*0a6a1f1dSLionel Sambuc
6*0a6a1f1dSLionel Sambuc// RUN: %clang -target s390x-ibm-linux -integrated-as -### -c %s 2>&1 \
7*0a6a1f1dSLionel Sambuc// RUN: | FileCheck -check-prefix=IAS %s
8*0a6a1f1dSLionel Sambuc// IAS: "-cc1as"{{.*}} "-target-cpu" "z10"
9*0a6a1f1dSLionel Sambuc
10*0a6a1f1dSLionel Sambuc// RUN: %clang -target s390x-ibm-linux -no-integrated-as -### -c %s 2>&1 \
11*0a6a1f1dSLionel Sambuc// RUN: | FileCheck -check-prefix=NO-IAS %s
12*0a6a1f1dSLionel Sambuc// NO-IAS-NOT: -cc1as
13*0a6a1f1dSLionel Sambuc// NO-IAS: "-march=z10"
14*0a6a1f1dSLionel Sambuc
15