diff options
author | Jeff Law <law@gcc.gnu.org> | 1997-09-23 15:20:32 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-09-23 15:20:32 -0600 |
commit | 5dceb6d28eafdb5df5765c8d8ccfba31d1474dbb (patch) | |
tree | ec59909287af58e2d2d59efb30b082b25090f962 | |
parent | bfe8701346baf04c53d1fe784eea755c5bda60bc (diff) | |
download | gcc-5dceb6d28eafdb5df5765c8d8ccfba31d1474dbb.zip gcc-5dceb6d28eafdb5df5765c8d8ccfba31d1474dbb.tar.gz gcc-5dceb6d28eafdb5df5765c8d8ccfba31d1474dbb.tar.bz2 |
new test (already in c-torture)
From-SVN: r15685
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/970923-1.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/970923-1.c b/gcc/testsuite/gcc.c-torture/execute/970923-1.c new file mode 100644 index 0000000..1d78b47 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/970923-1.c @@ -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); +} |