@@ -0,0 +1,228 @@
+/**%0A * Check that return in main method is not accepted.%0A *%0A * @author Elvis Stansvik %3Celvstone@gmail.com%3E%0A */%0Aclass ReturnInMainMethod %7B%0A    public static void main(String%5B%5D args) %7B%0A        int foo;%0A        return foo;%0A    %7D%0A%7D%0A

Add another shared noncompile test.