Commit 9e7d5ee8 by Zack Weinberg

New test - regression of ICE

From-SVN: r37521
parent 8b25cab9
/* This looks like a warning test, but it's actually a regression test for a
nasty ICE due to messed up parser context. Problem originally found
during bootstrap; this is synthetic. -zw */
/* { dg-do compile }
{ dg-options -W } */
void foo (int x)
{
if (x) /* { dg-warning "empty body in an if-statement" } */
;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment