aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2000-05-19 18:34:52 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2000-05-19 14:34:52 -0400
commitea25bef41ff2d9c750ca29a0a9901a64c804f639 (patch)
tree96cf6958c7ecc79256e695c6939b8cec82cba34b
parent0d9a7d79ac33778c100ef6fbf600901cf7de0c5f (diff)
downloadgcc-ea25bef41ff2d9c750ca29a0a9901a64c804f639.zip
gcc-ea25bef41ff2d9c750ca29a0a9901a64c804f639.tar.gz
gcc-ea25bef41ff2d9c750ca29a0a9901a64c804f639.tar.bz2
* gcc.c-torture/execute/20000519-2.c: New test.
From-SVN: r34030
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20000519-2.c12
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7d40447..4f29ad9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-19 David Edelsohn <edelsohn@gnu.org>
+
+ * gcc.c-torture/execute/20000519-2.c: New test.
+
2000-05-19 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/20000519-1.c: Testcase from Ulrich Drepper
diff --git a/gcc/testsuite/gcc.c-torture/execute/20000519-2.c b/gcc/testsuite/gcc.c-torture/execute/20000519-2.c
new file mode 100644
index 0000000..9635e32
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/20000519-2.c
@@ -0,0 +1,12 @@
+long x = -1L;
+
+int main()
+{
+ long b = (x != -1L);
+
+ if (b)
+ abort();
+
+ exit(0);
+}
+