[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Frontend / diagnostics-option-names.c
blob71455be0a75b9286e325e7cbc3bd299583b4e7a5
1 // RUN: not %clang_cc1 -Werror -Weverything %s 2> %t
2 // RUN: FileCheck < %t %s
4 int f0(int, unsigned);
5 int f0(int x, unsigned y) {
6 // CHECK: comparison of integers of different signs{{.*}} [-Werror,-Wsign-compare]
7 return x < y; // expected-error {{ : 'int' and 'unsigned int' }}