re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch)
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
This commit is contained in:
@@ -0,0 +1,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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user