diff options
author | wisberg <wisberg> | 2003-03-06 07:51:54 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-03-06 07:51:54 +0000 |
commit | 6a8fa08bcb628ad06c1acdb7f6d8a4e7ea73bc79 (patch) | |
tree | 474ca92eba54c3ee8ba4b8cbeed5b34e20d602d5 /tests/bugs | |
parent | 9715203947675c89bff540ac9cfc9bac1574e0e2 (diff) | |
download | aspectj-6a8fa08bcb628ad06c1acdb7f6d8a4e7ea73bc79.tar.gz aspectj-6a8fa08bcb628ad06c1acdb7f6d8a4e7ea73bc79.zip |
@testcase PR#33948 default constructor inter-type declaration
conflicts with compiler-generated constructor
Diffstat (limited to 'tests/bugs')
-rw-r--r-- | tests/bugs/ConstructorDeclaration.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs/ConstructorDeclaration.java b/tests/bugs/ConstructorDeclaration.java new file mode 100644 index 000000000..df45cb13d --- /dev/null +++ b/tests/bugs/ConstructorDeclaration.java @@ -0,0 +1,17 @@ + +import org.aspectj.testing.Tester; + +/** @testcase PR#33948 default constructor inter-type declaration */ +public class ConstructorDeclaration { + public static void main(String[] args) { + Tester.expectEvent("create"); + new ConstructorDeclaration(); + Tester.checkAllEvents(); + } +} + +aspect A { + ConstructorDeclaration.new() { + Tester.event("create"); + } +}
\ No newline at end of file |