Commit 15c8b2d4 by Ian Lance Taylor Committed by Ian Lance Taylor

* gcc.dg/20050121-1.c: New test.

From-SVN: r94029
parent 046e5d03
2005-01-21 Ian Lance Taylor <ian@c2micro.com> 2005-01-21 Ian Lance Taylor <ian@airs.com>
* gcc.dg/20050121-1.c: New test.
PR tree-optimization/13000 PR tree-optimization/13000
* gcc.dg/20040206-1.c: Change warning to point where function is * gcc.dg/20040206-1.c: Change warning to point where function is
......
/* I accidentally broke this while developing a patch for PR 13000,
and didn't notice since the testsuite didn't catch it -- ian */
/* { dg-do-compile } */
void foo()
{
return;
break; /* { dg-warning "break statement not within" } */
}
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