re PR java/15656 (ICE segfault in lex.c)
authorTom Tromey <tromey@redhat.com>
Fri, 24 Sep 2004 15:42:57 +0000 (15:42 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 24 Sep 2004 15:42:57 +0000 (15:42 +0000)
PR java/15656:
* testsuite/libjava.compile/pr15656.xfail: New file.
* testsuite/libjava.compile/pr15656.java: new file.

From-SVN: r88047

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

index 40009856bee792f40f651a5cbb5883ca1c5e9429..16c24acd30827f6ed71c66642a524800b455bf06 100644 (file)
@@ -1,5 +1,9 @@
 2004-09-24  Tom Tromey  <tromey@redhat.com>
 
+       PR java/15656:
+       * testsuite/libjava.compile/pr15656.xfail: New file.
+       * testsuite/libjava.compile/pr15656.java: new file.
+
        PR java/16789:
        * testsuite/libjava.lang/pr16789.out: New file.
        * testsuite/libjava.lang/pr16789.java: New file.
diff --git a/libjava/testsuite/libjava.compile/pr15656.java b/libjava/testsuite/libjava.compile/pr15656.java
new file mode 100644 (file)
index 0000000..4076c9f
--- /dev/null
@@ -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 (file)
index 0000000..e3b083b
--- /dev/null
@@ -0,0 +1 @@
+shouldfail