aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr132349/TopLevelType3.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs152/pr132349/TopLevelType3.java')
-rw-r--r--tests/bugs152/pr132349/TopLevelType3.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs152/pr132349/TopLevelType3.java b/tests/bugs152/pr132349/TopLevelType3.java
new file mode 100644
index 000000000..8cc55d6cb
--- /dev/null
+++ b/tests/bugs152/pr132349/TopLevelType3.java
@@ -0,0 +1,17 @@
+public class TopLevelType3<E> {
+ public static class NestedType<T> {}
+
+ public static void main(String[] args) {
+ TopLevelType3 tlt = new TopLevelType3();
+ NestedType nt = new NestedType();
+ nt.someMethod();
+ }
+}
+
+aspect SomeAspect {
+ public void TopLevelType3.NestedType<String>.someMethod() { // error - can't do that
+ }
+}
+
+
+