aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs160
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs160')
-rw-r--r--tests/bugs160/pr171952/Foo.java6
-rw-r--r--tests/bugs160/pr171952/FooAspect.java10
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs160/pr171952/Foo.java b/tests/bugs160/pr171952/Foo.java
new file mode 100644
index 000000000..d60b9a65c
--- /dev/null
+++ b/tests/bugs160/pr171952/Foo.java
@@ -0,0 +1,6 @@
+import java.util.List;
+
+public interface Foo {
+
+ <T> List<T> createList();
+} \ No newline at end of file
diff --git a/tests/bugs160/pr171952/FooAspect.java b/tests/bugs160/pr171952/FooAspect.java
new file mode 100644
index 000000000..a376442fc
--- /dev/null
+++ b/tests/bugs160/pr171952/FooAspect.java
@@ -0,0 +1,10 @@
+import java.util.ArrayList;
+import java.util.List;
+
+public aspect FooAspect {
+
+
+ public <T> List<T> Foo.createList() {
+ return new ArrayList<T>();
+ }
+} \ No newline at end of file