diff options
author | David Edelsohn <edelsohn@gnu.org> | 2000-05-19 18:34:52 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2000-05-19 14:34:52 -0400 |
commit | ea25bef41ff2d9c750ca29a0a9901a64c804f639 (patch) | |
tree | 96cf6958c7ecc79256e695c6939b8cec82cba34b | |
parent | 0d9a7d79ac33778c100ef6fbf600901cf7de0c5f (diff) | |
download | gcc-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/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20000519-2.c | 12 |
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); +} + |