[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / fatal-warnings.c
blob12c239cf120831f663def2929b4a0c907a865393
1 // RUN: %clang -### %s -c -o tmp.o --target=i686-pc-linux-gnu -integrated-as -Wa,--fatal-warnings 2>&1 | FileCheck %s
2 // RUN: not %clang %s -c -o %t.o --target=i686-pc-linux-gnu -integrated-as -Wa,--fatal-warnings 2>&1 %t.log
3 // FileCheck --check-prefix=CHECK-AS %s -input-file %t.log
5 // CHECK: "-cc1" {{.*}} "-massembler-fatal-warnings"
6 // CHECK-AS: error: .warning argument must be a string
8 __asm(".warning 1");