summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite/libjava.compile/pr15656.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile/pr15656.java')
-rw-r--r--libjava/testsuite/libjava.compile/pr15656.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/pr15656.java b/libjava/testsuite/libjava.compile/pr15656.java
new file mode 100644
index 00000000000..4076c9f6870
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/pr15656.java
@@ -0,0 +1,8 @@
+// This used to cause a gcj crash in error_if_numeric_overflow.
+
+public class pr15656 {
+ public static void defineClass ()
+ {
+ Object ctor = new Object;
+ }
+}
OpenPOWER on IntegriCloud