From 0a41faf0222be325c15f502431641ebf435bbb2a Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Fri, 24 Sep 2004 13:55:42 +0000 Subject: re PR java/16927 (assert statement fails at -O1 and above) 2004-09-24 Andrew Haley PR java/16927 * testsuite/libjava.compile/AssertBug.java: New file. From-SVN: r88035 --- libjava/testsuite/libjava.compile/AssertBug.java | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/AssertBug.java (limited to 'libjava/testsuite/libjava.compile/AssertBug.java') 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() + "!"; + } +} -- cgit v1.1