Merge branches/gcc-4_8-branch rev 208968.
[official-gcc.git] / gcc-4_8-branch / gcc / testsuite / c-c++-common / Wunused-var-5.c
blob747f58d04c090b1a432d9907d0d825308e583f1e
1 /* { dg-do compile } */
2 /* { dg-options "-Wunused" } */
4 void
5 f1 (void)
7 extern int extvari;
8 extvari = 1;
11 int extvarj;
13 void
14 f2 (void)
16 extern int extvarj;
17 extvarj = 1;
20 static int extvark;
22 void
23 f3 (void)
25 extern int extvark;
26 extvark = 1;
29 int
30 f4 (void)
32 return extvark;