* gcc.c-torture/execute/20001121-1.c: New test.

From-SVN: r37618
This commit is contained in:
Jakub Jelinek 2000-11-21 18:32:08 +01:00 committed by Jakub Jelinek
parent 52e12ad06f
commit ce79b0cace
2 changed files with 23 additions and 0 deletions

View File

@ -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.

View 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);
}