[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / incremental-linker-compatible.c
blobe702a01376adb8dcaec663f080ee770e86e79514
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"
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"
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"
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"
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"
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"