summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/920721-2.c
blob: b21ff994e615f27c35e95e0e5804526e7b590f20 (plain)
1
2
3
4
5
6
void f(int n)
{
int s;
for(s=0;s<n;s++)
  s==5?1 n=1;		/* { dg-error "parse error|syntax error|expected" } */
}