aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/AssertBug.java7
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() + "!";
+ }
+}