llvm-project/clang/test/Tooling/clang-check-extra-arg.cpp

6 lines
272 B
C++
Raw Normal View History

// RUN: clang-check "%s" -extra-arg=-Wunimplemented-warning -extra-arg-before=-Wunimplemented-warning-before -- -c 2>&1 | FileCheck %s
// CHECK: unknown warning option '-Wunimplemented-warning-before'
// CHECK: unknown warning option '-Wunimplemented-warning'
void a(){}