summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/pr26042.java
blob: 485b36a5a54030957ffa6eb487fe198be357bd31 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 (); }
}