diff options
author | Andrew Haley <aph@redhat.com> | 2004-09-24 13:55:42 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2004-09-24 13:55:42 +0000 |
commit | 0a41faf0222be325c15f502431641ebf435bbb2a (patch) | |
tree | 5257e5a1d33970da2728e1e133a57cb0da205a29 /libjava/testsuite | |
parent | 4827be7a8d8a4ec0fc3aa093ec24c8e6190e8168 (diff) | |
download | gcc-0a41faf0222be325c15f502431641ebf435bbb2a.zip gcc-0a41faf0222be325c15f502431641ebf435bbb2a.tar.gz gcc-0a41faf0222be325c15f502431641ebf435bbb2a.tar.bz2 |
re PR java/16927 (assert statement fails at -O1 and above)
2004-09-24 Andrew Haley <aph@redhat.com>
PR java/16927
* testsuite/libjava.compile/AssertBug.java: New file.
From-SVN: r88035
Diffstat (limited to 'libjava/testsuite')
-rw-r--r-- | libjava/testsuite/libjava.compile/AssertBug.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/AssertBug.java b/libjava/testsuite/libjava.compile/AssertBug.java new file mode 100644 index 0000000..3938b11 --- /dev/null +++ b/libjava/testsuite/libjava.compile/AssertBug.java @@ -0,0 +1,7 @@ +// PR java/16927 +public class AssertBug { + public void bug(Integer i) { + assert(false): + i.toString() + "!"; + } +} |