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

10 lines
148 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
// expected-no-diagnostics
static int a;
int bar() {
extern int a;
return a;
}
static int a;