llvm-for-llvmta/tools/clang/test/Sema/warn-variable-not-needed.c

10 lines
148 B
C

// RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
// expected-no-diagnostics
static int a;
int bar() {
extern int a;
return a;
}
static int a;