gcc/libjava/testsuite/libjava.lang/PR29013.java
Tom Tromey f8248aaa3b re PR java/29013 (gcj generates a MetalLookAndFeel class that fails cacao's verifier)
gcc/java
	PR java/29013:
	* jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Always note
	the push of the called method's return result.
libjava
	PR java/29013:
	* testsuite/libjava.lang/PR29013.out: Likewise.
	* testsuite/libjava.lang/PR29013.java: New file.

From-SVN: r116902
2006-09-12 19:00:48 +00:00

10 lines
189 B
Java

public class PR29013 {
public static int result() { return 5; }
public static void computeResult() { result(); }
public static void main(String[] args) {
computeResult();
}
}