xref: /llvm-project/clang/test/Driver/via-file-asm.c (revision 1a74b6e11869fe221b7451b2db857472c35f14a6)
13e325d74SDavid Peixotto // Should save and read back the assembly from a file
2*1a74b6e1SDavid Peixotto // RUN: %clang -target arm-none-linux-gnueabi -integrated-as -via-file-asm %s -### 2>&1 | FileCheck %s
33e325d74SDavid Peixotto // CHECK: "-cc1"
43e325d74SDavid Peixotto // CHECK: "-o" "[[TMP:[^"]*]]"
53e325d74SDavid Peixotto // CHECK: -cc1as
63e325d74SDavid Peixotto // CHECK: [[TMP]]
73e325d74SDavid Peixotto 
83e325d74SDavid Peixotto // Should not force using the integrated assembler
9*1a74b6e1SDavid Peixotto // RUN: %clang -target arm-none-linux-gnueabi -no-integrated-as -via-file-asm %s -### 2>&1 | FileCheck --check-prefix=NO_IAS %s
103e325d74SDavid Peixotto // NO_IAS-NOT: "-cc1as"
11