aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/NoReturnStatementSimple.java
blob: e6f7787c840ff3ed5ae84f7b2dfb4bb81cf7dcef (plain)
1
2
3
4
5
6
/** error falls to javac to detect - confirm detected in ajc */
public class NoReturnStatementSimple {
	static String noReturn() { } // compile error here detected by javac
    public static void main(String[] args) { }
}