Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
cond8.C
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" }
}