[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / warn-variable-not-needed.c
blob19860ce8da4b2781fb26455cca5c799bfc4c3995
1 // RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
2 // expected-no-diagnostics
4 static int a;
5 int bar(void) {
6 extern int a;
7 return a;
9 static int a;