rt_gccstream/gcc/testsuite/gcc.dg/Werror-2.c

17 lines
270 B
C

/* { dg-do compile } */
/* { dg-options "" } */
/* This one is the baseline. Make sure with no option we get no
warnings. */
void __attribute__((dj)) bar() { } /* { dg-warning ".* attribute directive ignored" } */
int i;
void
foo ()
{
if (&i)
grill ();
}