[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Tooling / clang-check-extra-arg.cpp
blobdf5fb930eedcd0ddd0c575d80bdc2303ef0113a6
1 // RUN: clang-check "%s" -extra-arg=-Wunimplemented-warning -extra-arg-before=-Wunimplemented-warning-before -- -c 2>&1 | FileCheck %s
3 // CHECK: unknown warning option '-Wunimplemented-warning-before'
4 // CHECK: unknown warning option '-Wunimplemented-warning'
6 // Check we do not crash with -extra-arg=-gsplit-dwarf (we did, under linux).
7 // RUN: clang-check "%s" -extra-arg=-gsplit-dwarf -- -c
9 void a(){}