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

From-SVN: r94029
This commit is contained in:
Ian Lance Taylor 2005-01-21 19:23:06 +00:00 committed by Ian Lance Taylor
parent 046e5d036f
commit 15c8b2d40a
2 changed files with 12 additions and 1 deletions

View file

@ -1,4 +1,6 @@
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
* gcc.dg/20040206-1.c: Change warning to point where function is

View file

@ -0,0 +1,9 @@
/* 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" } */
}