blob: 3fa5b54b581e12e8ea05085368200585c85429d8 [file] [log] [blame]
Stephen Hines651f13c2014-04-23 16:59:28 -07001// 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]]
7
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"