aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/noncompile/20011025-1.c
blob: 51e60e5cb9ebda0450d0ab580e3dde4fdfbc0cff (plain)
1
2
3
4
5
double foo [] =
{ &bar,		/* { dg-error "undeclared|is not constant|near init" } */
  (void *) 0 };	/* { dg-error "incompatible types|is not constant|near init" } */
double baz [] =
{ (void *) 0 };	/* { dg-error "incompatible types|is not constant|near init" } */