* g++.dg/other/unreachable-1.C: New test.

From-SVN: r91804
This commit is contained in:
Volker Reichelt 2004-12-07 07:50:31 +00:00 committed by Eric Botcazou
parent 66237a39fc
commit 5f679db991
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-12-07 Volker Reichelt <reichelt@gcc.gnu.org>
* g++.dg/other/unreachable-1.C: New test.
2004-12-06 Nick Clifton <nickc@redhat.com>
* gcc.dg/builtins-config.h: Use <sys/types.h> instead of

View File

@ -0,0 +1,11 @@
// PR middle-end/17827
// Origin: Andre Woebbeking <Woebbeking@web.de>
// Testcase by Volker Reichelt <reichelt@gcc.gnu.org>
// { dg-do compile }
void foo()
{
if (false)
if (int i=0)
int j=i;
}