[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / systemz-as.s
blob34ad9c41eaf3cc2724bdd06a66ac3f98706db6cd
1 // Make sure SystemZ defaults to using the integrated assembler
3 // RUN: %clang -target s390x-ibm-linux -### -c %s 2>&1 \
4 // RUN: | FileCheck -check-prefix=IAS %s
6 // RUN: %clang -target s390x-ibm-linux -integrated-as -### -c %s 2>&1 \
7 // RUN: | FileCheck -check-prefix=IAS %s
8 // IAS: "-cc1as"{{.*}} "-target-cpu" "z10"
10 // RUN: %clang -target s390x-ibm-linux -no-integrated-as -### -c %s 2>&1 \
11 // RUN: | FileCheck -check-prefix=NO-IAS %s
12 // NO-IAS-NOT: -cc1as
13 // NO-IAS: "-march=z10"