]> gcc.gnu.org Git - gcc.git/commitdiff
The right file.
authorJeff Law <law@gcc.gnu.org>
Fri, 5 Jun 1998 09:48:37 +0000 (03:48 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 5 Jun 1998 09:48:37 +0000 (03:48 -0600)
From-SVN: r20242

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

diff --git a/gcc/testsuite/gcc.c-torture/execute/980604-1.c b/gcc/testsuite/gcc.c-torture/execute/980604-1.c
new file mode 100644 (file)
index 0000000..8992a90
--- /dev/null
@@ -0,0 +1,20 @@
+int a = 1;
+int b = -1;
+
+int c = 1;
+int d = 0;
+
+main ()
+{
+  double e;
+  double f;
+  double g;
+
+  f = c;
+  g = d;
+  e = (a < b) ? f : g;
+  if (e)
+    abort ();
+  exit(0);
+}
+
This page took 0.062184 seconds and 5 git commands to generate.