brintos

brintos / llvm-project-archived public Read only

0
0
Text · 536 B · b00b6d3 Raw
11 lines · cpp
1// RUN: %clang -std=c++20 -### -c %s 2>&1 | FileCheck %s2// RUN: %clang -std=c++20 -fno-skip-odr-check-in-gmf -### -c %s 2>&1 \3// RUN:     | FileCheck %s --check-prefix=UNUSED4// RUN: %clang -std=c++20 -Xclang -fno-skip-odr-check-in-gmf -### -c %s 2>&1 \5// RUN:     | FileCheck %s --check-prefix=NO-SKIP6 7// CHECK: -fskip-odr-check-in-gmf8// UNUSED: warning: argument unused during compilation: '-fno-skip-odr-check-in-gmf'9// UNUSED-NOT: -fno-skip-odr-check-in-gmf10// NO-SKIP: -fskip-odr-check-in-gmf{{.*}}-fno-skip-odr-check-in-gmf11