gcc/libjava/testsuite/libjava.lang/PR20056.java
Tom Tromey b55cb4a133 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
2005-02-19 03:57:21 +00:00

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");
}
}