* g++.dg/other/unreachable-1.C: New test.
From-SVN: r91804
This commit is contained in:
parent
66237a39fc
commit
5f679db991
@ -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
|
||||
|
11
gcc/testsuite/g++.dg/other/unreachable1.C
Normal file
11
gcc/testsuite/g++.dg/other/unreachable1.C
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user