summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/cond1.C
blob: 69947730525d1f82eaa75af334f3fc1d63148577 (plain)
1
2
3
4
5
6
// PR c++/18389

void foo()
{
  for (; struct A {}; ); // { dg-error "" }
}