From 0a41faf0222be325c15f502431641ebf435bbb2a Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Fri, 24 Sep 2004 13:55:42 +0000 Subject: [PATCH] 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/ChangeLog | 5 +++++ libjava/testsuite/libjava.compile/AssertBug.java | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/AssertBug.java diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 8580a9f5b10..db9463e609a 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-09-24 Andrew Haley + + PR java/16927 + * testsuite/libjava.compile/AssertBug.java: New file. + 2004-09-24 Casey Marshall * java/util/PropertyPermissionCollection.java diff --git a/libjava/testsuite/libjava.compile/AssertBug.java b/libjava/testsuite/libjava.compile/AssertBug.java new file mode 100644 index 00000000000..3938b11da28 --- /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() + "!"; + } +} -- 2.30.2