OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / Werror-2.c
1 /* { dg-do compile } */
2 /* { dg-options "" } */
3
4 /* This one is the baseline.  Make sure with no option we get no
5    warnings.  */
6
7 void __attribute__((dj)) bar() { }      /* { dg-warning "warning: .* attribute directive ignored" } */
8
9 int i;
10
11 void
12 foo ()
13 {
14   if (&i)
15     grill ();
16 }