]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
new test (already in c-torture)
authorJeff Law <law@gcc.gnu.org>
Tue, 23 Sep 1997 21:20:32 +0000 (15:20 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 23 Sep 1997 21:20:32 +0000 (15:20 -0600)
From-SVN: r15685

gcc/testsuite/gcc.c-torture/execute/970923-1.c [new file with mode: 0644]

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 (file)
index 0000000..1d78b47
--- /dev/null
@@ -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);
+}