warn-variable-not-needed.c 148 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 // RUN: %clang_cc1 -fsyntax-only -verify -Wall %s // expected-no-diagnostics static int a; int bar() { extern int a; return a; } static int a;