xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/via-file-asm.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // Should save and read back the assembly from a file
2*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-none-linux-gnueabi -integrated-as -via-file-asm %s -### 2>&1 | FileCheck %s
3*0a6a1f1dSLionel Sambuc // CHECK: "-cc1"
4*0a6a1f1dSLionel Sambuc // CHECK: "-o" "[[TMP:[^"]*]]"
5*0a6a1f1dSLionel Sambuc // CHECK: -cc1as
6*0a6a1f1dSLionel Sambuc // CHECK: [[TMP]]
7*0a6a1f1dSLionel Sambuc 
8*0a6a1f1dSLionel Sambuc // Should not force using the integrated assembler
9*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-none-linux-gnueabi -no-integrated-as -via-file-asm %s -### 2>&1 | FileCheck --check-prefix=NO_IAS %s
10*0a6a1f1dSLionel Sambuc // NO_IAS-NOT: "-cc1as"
11