rfg@ICS.UCI.EDU (01/15/90)
// g++ 1.36.1 fails to flag errors for all cases where the inner statement
// in a conditional or looping statement is a simple declarative statement.
// (Cfront 2.0) flags all such cases as errors.
// g++-01149001.bug
void func ()
{
int i;
if (i)
int then_part; // Correctly flagged as an error
else
int then_part; // Correctly flagged as an error
while (i)
int while_body; // missed error
do
int do_body; // missed error
while (i);
for (;;)
int for_body; // missed error
}