aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/PR14853.java
blob: a800c52e3cfe794c2a4b43b0bf0972e75eb7c1aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class tt
{
  static final tt tt1 = new tt();
  tt()
  {
  }
}

public class PR14853
{
  public static void main (String[] args)
  {
    // This is an invalid assignment.  gcj would get confused in
    // definite assignment when compiling to object code.
    tt.tt1 = new tt();
  }
}