aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/PR20056.java
blob: f73eb7f048beff8bd453b1f7349514f40efe2305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
public class PR20056 {
  int x;
  PR20056(int x) {}
  PR20056(PR20056 f) {
    // The verifier rejected the generated code in this case.
    this(f.x = 0);
  }

  public static void main(String[] args)
  {
    System.out.println("maude");
  }
}