PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / Werror-2.c
blob65f285edd0106892f0a6e830217f162f8dd53b36
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 __attribute__((dj)) bar() { } /* { dg-warning ".* attribute directive ignored" } */
9 int i;
11 void
12 foo ()
14 if (&i)
15 grill ();