blob: 40ba29d643930275e4bb017d0581244ad33bc483 [file] [log] [blame]
// PR c++/84588
void foo()
{
if (int x); // { dg-error "expected initializer" }
for (;int x;); // { dg-error "expected initializer" }
while (int x); // { dg-error "expected initializer" }
}