diff options
Diffstat (limited to 'libjava/testsuite/libjava.compile/pr26042.java')
-rw-r--r-- | libjava/testsuite/libjava.compile/pr26042.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/pr26042.java b/libjava/testsuite/libjava.compile/pr26042.java new file mode 100644 index 0000000..485b36a --- /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 (); } +} + |