new test (already in c-torture)
From-SVN: r15685
This commit is contained in:
parent
bfe8701346
commit
5dceb6d28e
27
gcc/testsuite/gcc.c-torture/execute/970923-1.c
Normal file
27
gcc/testsuite/gcc.c-torture/execute/970923-1.c
Normal file
@ -0,0 +1,27 @@
|
||||
int
|
||||
ts(a)
|
||||
int a;
|
||||
{
|
||||
if (a < 1000 && a > 2000)
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
tu(a)
|
||||
unsigned int a;
|
||||
{
|
||||
if (a < 1000 && a > 2000)
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
main()
|
||||
{
|
||||
if (ts (0) || tu (0))
|
||||
abort ();
|
||||
exit (0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user