xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/integrated-as.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc // RUN: %clang -### -c -save-temps -integrated-as %s 2>&1 | FileCheck %s
2f4a2713aSLionel Sambuc 
3f4a2713aSLionel Sambuc // CHECK: cc1as
4f4a2713aSLionel Sambuc // CHECK: -mrelax-all
5*0a6a1f1dSLionel Sambuc 
6*0a6a1f1dSLionel Sambuc // RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS
7*0a6a1f1dSLionel Sambuc 
8*0a6a1f1dSLionel Sambuc // FIAS: cc1as
9*0a6a1f1dSLionel Sambuc 
10*0a6a1f1dSLionel Sambuc // RUN: %clang -### -fno-integrated-as -S %s 2>&1 \
11*0a6a1f1dSLionel Sambuc // RUN:     | FileCheck %s -check-prefix NOFIAS
12*0a6a1f1dSLionel Sambuc 
13*0a6a1f1dSLionel Sambuc // NOFIAS-NOT: cc1as
14*0a6a1f1dSLionel Sambuc // NOFIAS: -cc1
15*0a6a1f1dSLionel Sambuc // NOFIAS: -no-integrated-as
16