David Majnemer | 2b9349d | 2015-12-21 22:09:34 +0000 | [diff] [blame] | 1 | // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mincremental-linker-compatible 2>&1 | FileCheck %s --check-prefix=TEST1 |
| 2 | // TEST1: "-cc1" {{.*}} "-mincremental-linker-compatible" |
| 3 | |
| 4 | // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mno-incremental-linker-compatible 2>&1 | FileCheck %s --check-prefix=TEST2 |
| 5 | // TEST2-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible" |
| 6 | |
| 7 | // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mno-incremental-linker-compatible -mincremental-linker-compatible 2>&1 | FileCheck %s --check-prefix=TEST3 |
| 8 | // TEST3: "-cc1" {{.*}} "-mincremental-linker-compatible" |
| 9 | |
| 10 | // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mincremental-linker-compatible -mno-incremental-linker-compatible 2>&1 | FileCheck %s --check-prefix=TEST4 |
| 11 | // TEST4-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible" |
| 12 | |
| 13 | // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-mingw32 -integrated-as 2>&1 | FileCheck %s --check-prefix=TEST5 |
| 14 | // TEST5-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible" |
| 15 | |
| 16 | // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-win32 -integrated-as 2>&1 | FileCheck %s --check-prefix=TEST6 |
| 17 | // TEST6: "-cc1" {{.*}} "-mincremental-linker-compatible" |