mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-03 16:54:27 +08:00
* gcc.c-torture/execute/20010723-1.c: New test.
From-SVN: r44270
This commit is contained in:
parent
6e7b03e1f5
commit
1ee6b83994
@ -1,3 +1,7 @@
|
||||
Mon Jul 23 10:14:17 2001 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* gcc.c-torture/execute/20010723-1.c: New test.
|
||||
|
||||
2001-07-23 Ben Elliston <bje@redhat.com>
|
||||
|
||||
* g++.old-deja/g++.other/enum5.C: Mark as XFAIL.
|
||||
|
16
gcc/testsuite/gcc.c-torture/execute/20010723-1.c
Normal file
16
gcc/testsuite/gcc.c-torture/execute/20010723-1.c
Normal file
@ -0,0 +1,16 @@
|
||||
int
|
||||
test ()
|
||||
{
|
||||
int biv,giv;
|
||||
for (biv = 0, giv = 0; giv != 8; biv++)
|
||||
giv = biv*8;
|
||||
return giv;
|
||||
}
|
||||
|
||||
|
||||
main()
|
||||
{
|
||||
if (test () != 8)
|
||||
abort ();
|
||||
exit (0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user