2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / Wshadow-2.c
blobb0c051271eed7d1ac9e5b046679388eabf481d17
1 /* Bogus warning for a double declaration of the same extern variable,
2 first at file scope, then at block scope. PR 13129. */
4 /* { dg-options "-Wshadow" } */
6 extern struct foo bar;
7 void dummy()
9 extern struct foo bar; /* { dg-bogus "shadows" } */