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
This commit is contained in:
Andrew Haley
2004-09-24 13:55:42 +00:00
committed by Andrew Haley
parent 4827be7a8d
commit 0a41faf022
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,7 @@
// PR java/16927
public class AssertBug {
public void bug(Integer i) {
assert(false):
i.toString() + "!";
}
}