[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / via-file-asm.c
blob3fa5b54b581e12e8ea05085368200585c85429d8
1 // Should save and read back the assembly from a file
2 // RUN: %clang -target arm-none-linux-gnueabi -integrated-as -via-file-asm %s -### 2>&1 | FileCheck %s
3 // CHECK: "-cc1"
4 // CHECK: "-o" "[[TMP:[^"]*]]"
5 // CHECK: -cc1as
6 // CHECK: [[TMP]]
8 // Should not force using the integrated assembler
9 // RUN: %clang -target arm-none-linux-gnueabi -no-integrated-as -via-file-asm %s -### 2>&1 | FileCheck --check-prefix=NO_IAS %s
10 // NO_IAS-NOT: "-cc1as"