Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 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]] |
| 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" |