mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 18:06:05 +00:00

Allow toggling of -fnew-infallible so last instance takes precedence Testing: ninja check-all Reviewed By: bruno Differential Revision: https://reviews.llvm.org/D113523
5 lines
312 B
C++
5 lines
312 B
C++
// RUN: %clang -### -S -fno-new-infallible -fnew-infallible %s 2>&1 | FileCheck --check-prefix=NEW-INFALLIBLE %s
|
|
// NEW-INFALLIBLE: "-fnew-infallible"
|
|
|
|
// RUN: %clang -### -S -fnew-infallible -fno-new-infallible %s 2>&1 | FileCheck --check-prefix=NO-NEW-INFALLIBLE %s
|
|
// NO-NEW-INFALLIBLE-NOT: "-fnew-infallible"
|