From 1549c4e552ed7d8a92b83f3b5deb01867ca5e3a9 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 30 Mar 2006 16:39:17 +0000 Subject: re PR java/26042 (ICE in mark_reference_fields, at java/boehm.c:105) gcc/java PR java/26042: * parse.y (java_reorder_fields): Reset superclass field's size as well. libjava PR java/26042: * testsuite/libjava.compile/pr26042.java: New file. From-SVN: r112540 --- libjava/testsuite/libjava.compile/pr26042.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/pr26042.java (limited to 'libjava/testsuite/libjava.compile/pr26042.java') diff --git a/libjava/testsuite/libjava.compile/pr26042.java b/libjava/testsuite/libjava.compile/pr26042.java new file mode 100644 index 00000000000..485b36a5a54 --- /dev/null +++ b/libjava/testsuite/libjava.compile/pr26042.java @@ -0,0 +1,12 @@ +class One +{ + long l; // no ICE if this is int, not long + int b; // no ICE if this line is gone; type doesn't matter +} + +public class pr26042 +{ + class Three extends One { } + Three three () { return new Three (); } +} + -- cgit v1.2.3