[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / modules-skip-odr-check-in-gmf.cpp
blobb00b6d330ba459a28433a28c98de6753085dc6be
1 // RUN: %clang -std=c++20 -### -c %s 2>&1 | FileCheck %s
2 // RUN: %clang -std=c++20 -fno-skip-odr-check-in-gmf -### -c %s 2>&1 \
3 // RUN: | FileCheck %s --check-prefix=UNUSED
4 // RUN: %clang -std=c++20 -Xclang -fno-skip-odr-check-in-gmf -### -c %s 2>&1 \
5 // RUN: | FileCheck %s --check-prefix=NO-SKIP
7 // CHECK: -fskip-odr-check-in-gmf
8 // UNUSED: warning: argument unused during compilation: '-fno-skip-odr-check-in-gmf'
9 // UNUSED-NOT: -fno-skip-odr-check-in-gmf
10 // NO-SKIP: -fskip-odr-check-in-gmf{{.*}}-fno-skip-odr-check-in-gmf