David Peixotto | 3e325d7 | 2013-12-06 20:27:33 +0000 | [diff] [blame] | 1 | // Should save and read back the assembly from a file |
David Peixotto | 1a74b6e | 2013-12-10 00:54:30 +0000 | [diff] [blame] | 2 | // RUN: %clang -target arm-none-linux-gnueabi -integrated-as -via-file-asm %s -### 2>&1 | FileCheck %s |
David Peixotto | 3e325d7 | 2013-12-06 20:27:33 +0000 | [diff] [blame] | 3 | // CHECK: "-cc1" |
| 4 | // CHECK: "-o" "[[TMP:[^"]*]]" |
| 5 | // CHECK: -cc1as |
| 6 | // CHECK: [[TMP]] |
| 7 | |
| 8 | // Should not force using the integrated assembler |
David Peixotto | 1a74b6e | 2013-12-10 00:54:30 +0000 | [diff] [blame] | 9 | // RUN: %clang -target arm-none-linux-gnueabi -no-integrated-as -via-file-asm %s -### 2>&1 | FileCheck --check-prefix=NO_IAS %s |
David Peixotto | 3e325d7 | 2013-12-06 20:27:33 +0000 | [diff] [blame] | 10 | // NO_IAS-NOT: "-cc1as" |