* gcc.c-torture/execute/991023-1.c: New test.
From-SVN: r30141
This commit is contained in:
parent
f120f9018d
commit
ee90ff50c2
2 changed files with 29 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
24
gcc/testsuite/gcc.c-torture/execute/991023-1.c
Normal file
24
gcc/testsuite/gcc.c-torture/execute/991023-1.c
Normal 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);
|
||||
}
|
Loading…
Add table
Reference in a new issue