minix/external/bsd/llvm/dist/clang/test/Sema/warn-variable-not-needed.c

10 lines
148 B
C
Raw Normal View History

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