1*67e74705SXin Li // 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*67e74705SXin Li // TEST1: "-cc1" {{.*}} "-mincremental-linker-compatible" 3*67e74705SXin Li 4*67e74705SXin Li // 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*67e74705SXin Li // TEST2-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible" 6*67e74705SXin Li 7*67e74705SXin Li // 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*67e74705SXin Li // TEST3: "-cc1" {{.*}} "-mincremental-linker-compatible" 9*67e74705SXin Li 10*67e74705SXin Li // 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*67e74705SXin Li // TEST4-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible" 12*67e74705SXin Li 13*67e74705SXin Li // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-mingw32 -integrated-as 2>&1 | FileCheck %s --check-prefix=TEST5 14*67e74705SXin Li // TEST5-NOT: "-cc1" {{.*}} "-mincremental-linker-compatible" 15*67e74705SXin Li 16*67e74705SXin Li // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-win32 -integrated-as 2>&1 | FileCheck %s --check-prefix=TEST6 17*67e74705SXin Li // TEST6: "-cc1" {{.*}} "-mincremental-linker-compatible" 18