summaryrefslogtreecommitdiffstats
path: root/tests/bugs170/pr73507/Case2.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs170/pr73507/Case2.java')
-rw-r--r--tests/bugs170/pr73507/Case2.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs170/pr73507/Case2.java b/tests/bugs170/pr73507/Case2.java
new file mode 100644
index 000000000..15ba1665f
--- /dev/null
+++ b/tests/bugs170/pr73507/Case2.java
@@ -0,0 +1,19 @@
+import java.lang.reflect.*;
+
+interface I {
+}
+
+
+class C implements I {
+ public int i = 1;
+}
+
+public aspect Case2 {
+
+ public int I.i = 5;
+
+ public static void main(String []argv) {
+ System.out.println("Value of C.i is "+new C().i);
+ }
+
+}