mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 18:09:43 +08:00
* gcc.c-torture/execute/990324-1.c: New test.
From-SVN: r25956
This commit is contained in:
parent
da4b192759
commit
7633094fe2
@ -1,3 +1,7 @@
|
||||
Wed Mar 24 22:50:50 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* gcc.c-torture/execute/990324-1.c: New test.
|
||||
|
||||
1999-03-13 Craig Burley <craig@jcb-sc.com>
|
||||
|
||||
* g77.f-torture/execute/19990313-2.f: New test.
|
||||
|
13
gcc/testsuite/gcc.c-torture/execute/990324-1.c
Normal file
13
gcc/testsuite/gcc.c-torture/execute/990324-1.c
Normal file
@ -0,0 +1,13 @@
|
||||
void f(long i)
|
||||
{
|
||||
if ((signed char)i < 0 || (signed char)i == 0)
|
||||
abort ();
|
||||
else
|
||||
exit (0);
|
||||
}
|
||||
|
||||
main()
|
||||
{
|
||||
f(0xffffff01);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user