[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / new-infallible.cpp
blob5a9be234a2f912a86f8a08e1f7d5673f3bcf7b1b
1 // RUN: %clang -### -S -fno-new-infallible -fnew-infallible %s 2>&1 | FileCheck --check-prefix=NEW-INFALLIBLE %s
2 // NEW-INFALLIBLE: "-fnew-infallible"
4 // RUN: %clang -### -S -fnew-infallible -fno-new-infallible %s 2>&1 | FileCheck --check-prefix=NO-NEW-INFALLIBLE %s
5 // NO-NEW-INFALLIBLE-NOT: "-fnew-infallible"