* compile/20000405-1.c: New test.
From-SVN: r32923
This commit is contained in:
parent
79ba6d3437
commit
a70902c59f
@ -1,3 +1,7 @@
|
||||
2000-04-05 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
|
||||
* compile/20000405-1.c: New test.
|
||||
|
||||
Mon Apr 3 16:53:52 2000 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* execute/20000403-1.c: New test.
|
||||
|
13
gcc/testsuite/gcc.c-torture/compile/20000405-1.c
Normal file
13
gcc/testsuite/gcc.c-torture/compile/20000405-1.c
Normal file
@ -0,0 +1,13 @@
|
||||
// Copyright (C) 2000 Free Software Foundation
|
||||
|
||||
// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
// simplified from libio/floatconv.c
|
||||
|
||||
static const double bar[] = { 0 };
|
||||
int j;
|
||||
|
||||
double
|
||||
foo ()
|
||||
{
|
||||
return bar[j];
|
||||
}
|
Loading…
Reference in New Issue
Block a user