* gcc.c-torture/execute/20000412-2.c: New test.

From-SVN: r33115
This commit is contained in:
Jeffrey A Law 2000-04-12 16:25:29 +00:00 committed by Jeff Law
parent 002fe164bc
commit 2c45f94b58
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Apr 12 10:25:08 2000 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000412-2.c: New test.
2000-04-12 Jakub Jelinek <jakub@redhat.com>
* objc/execute/bf-20.m: New test.

View File

@ -0,0 +1,16 @@
int f(int a,int *y)
{
int x = a;
if (a==0)
return *y;
return f(a-1,&x);
}
int main(int argc,char **argv)
{
if (f (100, (int *) 0) != 1)
abort ();
exit (0);
}