summaryrefslogtreecommitdiff
path: root/test/Driver/systemz-as.s
blob: 34ad9c41eaf3cc2724bdd06a66ac3f98706db6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Make sure SystemZ defaults to using the integrated assembler

// RUN: %clang -target s390x-ibm-linux -### -c %s 2>&1 \
// RUN: | FileCheck -check-prefix=IAS %s

// RUN: %clang -target s390x-ibm-linux -integrated-as -### -c %s 2>&1 \
// RUN: | FileCheck -check-prefix=IAS %s
// IAS: "-cc1as"{{.*}} "-target-cpu" "z10"

// RUN: %clang -target s390x-ibm-linux -no-integrated-as -### -c %s 2>&1 \
// RUN: | FileCheck -check-prefix=NO-IAS %s
// NO-IAS-NOT: -cc1as
// NO-IAS: "-march=z10"