]> gcc.gnu.org Git - gcc.git/commitdiff
re PR java/16927 (assert statement fails at -O1 and above)
authorAndrew Haley <aph@redhat.com>
Fri, 24 Sep 2004 13:55:42 +0000 (13:55 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Fri, 24 Sep 2004 13:55:42 +0000 (13:55 +0000)
2004-09-24  Andrew Haley  <aph@redhat.com>

        PR java/16927
        * testsuite/libjava.compile/AssertBug.java: New file.

From-SVN: r88035

libjava/ChangeLog
libjava/testsuite/libjava.compile/AssertBug.java [new file with mode: 0644]

index 8580a9f5b10f785b9abe639792406c2182c67f2c..db9463e609a3bc08dcf38743913a367fbb6c86c4 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-24  Andrew Haley  <aph@redhat.com>
+
+       PR java/16927
+       * testsuite/libjava.compile/AssertBug.java: New file.
+
 2004-09-24  Casey Marshall <csm@gnu.org>
 
        * java/util/PropertyPermissionCollection.java
diff --git a/libjava/testsuite/libjava.compile/AssertBug.java b/libjava/testsuite/libjava.compile/AssertBug.java
new file mode 100644 (file)
index 0000000..3938b11
--- /dev/null
@@ -0,0 +1,7 @@
+// PR java/16927
+public class AssertBug {
+    public void bug(Integer i) {
+        assert(false):
+            i.toString() + "!";
+    }
+}
This page took 0.083156 seconds and 5 git commands to generate.