diff options
Diffstat (limited to 'tests/pureJava/VariousConstructors.java')
-rw-r--r-- | tests/pureJava/VariousConstructors.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/pureJava/VariousConstructors.java b/tests/pureJava/VariousConstructors.java new file mode 100644 index 000000000..20b2ab46b --- /dev/null +++ b/tests/pureJava/VariousConstructors.java @@ -0,0 +1,12 @@ +import org.aspectj.testing.Tester; + +import java.awt.Component; + +public class VariousConstructors { + public static void main(String[] args) { + Component c = new Component() {}; + AbstractC ac = new AbstractC() {}; + } +} + +abstract class AbstractC {} |