summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-24 15:42:57 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-24 15:42:57 +0000
commite9bccb005c39b5f0f6a12b6e7fd0ef783fe5f241 (patch)
tree51772ac904d9f86d16035168b4c37b818ad0b8c6 /libjava/testsuite/libjava.compile
parent03175afbe81c364a40ce3cdfeae39aff0a6e1f6f (diff)
downloadppe42-gcc-e9bccb005c39b5f0f6a12b6e7fd0ef783fe5f241.tar.gz
ppe42-gcc-e9bccb005c39b5f0f6a12b6e7fd0ef783fe5f241.zip
PR java/15656:
* testsuite/libjava.compile/pr15656.xfail: New file. * testsuite/libjava.compile/pr15656.java: new file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88047 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/pr15656.java8
-rw-r--r--libjava/testsuite/libjava.compile/pr15656.xfail1
2 files changed, 9 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;
+ }
+}
diff --git a/libjava/testsuite/libjava.compile/pr15656.xfail b/libjava/testsuite/libjava.compile/pr15656.xfail
new file mode 100644
index 00000000000..e3b083b1fa5
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/pr15656.xfail
@@ -0,0 +1 @@
+shouldfail
OpenPOWER on IntegriCloud