* gcc.c-torture/execute/20001121-1.c: New test.
From-SVN: r37618
This commit is contained in:
parent
52e12ad06f
commit
ce79b0cace
2 changed files with 23 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2000-11-21 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gcc.c-torture/execute/20001121-1.c: New test.
|
||||
|
||||
2000-11-21 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* gcc.c-torture/compile/20001121-1.c: New test.
|
||||
|
|
19
gcc/testsuite/gcc.c-torture/execute/20001121-1.c
Normal file
19
gcc/testsuite/gcc.c-torture/execute/20001121-1.c
Normal file
|
@ -0,0 +1,19 @@
|
|||
double d;
|
||||
|
||||
__inline__ double foo (void)
|
||||
{
|
||||
return d;
|
||||
}
|
||||
|
||||
__inline__ int bar (void)
|
||||
{
|
||||
foo();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main (void)
|
||||
{
|
||||
if (bar ())
|
||||
abort ();
|
||||
exit (0);
|
||||
}
|
Loading…
Add table
Reference in a new issue