2017-09-26 Thomas Koenig <tkoenig@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / Werror-2.c
blob32a7b331ae634eba990102a363e1b161bfbe44e8
1 /* { dg-do compile } */
2 /* { dg-options "" } */
4 /* This one is the baseline. Make sure with no option we get no
5 warnings. */
7 void grill ();
8 void __attribute__((dj)) bar() { } /* { dg-warning ".* attribute directive ignored" } */
10 int i;
12 void
13 foo ()
15 if (&i)
16 grill ();