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