aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/interfaceDefinition/Main1.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/interfaceDefinition/Main1.java')
-rw-r--r--tests/bugs/interfaceDefinition/Main1.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/bugs/interfaceDefinition/Main1.java b/tests/bugs/interfaceDefinition/Main1.java
new file mode 100644
index 000000000..b942dc7df
--- /dev/null
+++ b/tests/bugs/interfaceDefinition/Main1.java
@@ -0,0 +1,8 @@
+
+/** @testcase PR#43972 Use class implementing interface via aspect */
+public class Main1 {
+ public static void main(String[] args) {
+ pack.MyInterface i = new pack.InterfaceDefinition.C();
+ i.m();
+ }
+}