From 5dceb6d28eafdb5df5765c8d8ccfba31d1474dbb Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 23 Sep 1997 15:20:32 -0600 Subject: new test (already in c-torture) From-SVN: r15685 --- gcc/testsuite/gcc.c-torture/execute/970923-1.c | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/execute/970923-1.c (limited to 'gcc') 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); +} -- cgit v1.1