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

From-SVN: r30141
This commit is contained in:
Jeffrey A Law 1999-10-24 05:37:24 +00:00 committed by Jeff Law
parent f120f9018d
commit ee90ff50c2
2 changed files with 29 additions and 1 deletions

View file

@ -1,6 +1,10 @@
Sat Oct 23 23:36:03 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/991023-1.c: New test.
Tue Oct 19 02:11:29 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/991016-1.c: New test.
* gcc.c-torture/execute/991019-1.c: New test.
Sat Oct 16 00:05:48 1999 Richard Henderson <rth@cygnus.com>

View file

@ -0,0 +1,24 @@
int blah;
foo()
{
int i;
for (i=0 ; i< 7 ; i++)
{
if (i == 7 - 1)
blah = 0xfcc;
else
blah = 0xfee;
}
return blah;
}
main()
{
if (foo () != 0xfcc)
abort ();
exit (0);
}