b55cb4a133
PR java/20056: * verify.cc (type::equals): Fixed test. * testsuite/libjava.lang/PR20056.out: New file. * testsuite/libjava.lang/PR20056.java: New file. From-SVN: r95266
14 lines
245 B
Java
14 lines
245 B
Java
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");
|
|
}
|
|
}
|