diff options
Diffstat (limited to 'tests/errors/NoMethodName.java')
-rw-r--r-- | tests/errors/NoMethodName.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/errors/NoMethodName.java b/tests/errors/NoMethodName.java new file mode 100644 index 000000000..c2eefd990 --- /dev/null +++ b/tests/errors/NoMethodName.java @@ -0,0 +1,12 @@ +import org.aspectj.testing.*; + +public class NoMethodName { + public static void main(String[] args) { + new NoMethodName().realMain(args); + } + + public void realMain(String[] args) { + System.out.(); + Tester.check(false, "Shouldn't have compiled"); + } +} |