summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/20001228-1.c
blob: 73a44a859a5e6d6dc38e4a519962433ab24af7b3 (plain)
1
2
3
4
5
6
void rof(void)
{
  union { int a; } u;
  for (u.a = 0; u; u.a++)  /* { dg-error "used union" } */
    ;
}