* gcc.dg/20050121-1.c: New test.
From-SVN: r94029
This commit is contained in:
parent
046e5d036f
commit
15c8b2d40a
2 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
9
gcc/testsuite/gcc.dg/20050121-1.c
Normal file
9
gcc/testsuite/gcc.dg/20050121-1.c
Normal 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" } */
|
||||
}
|
Loading…
Add table
Reference in a new issue