aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs151
diff options
context:
space:
mode:
authoraclement <aclement>2006-03-16 15:34:26 +0000
committeraclement <aclement>2006-03-16 15:34:26 +0000
commite2703cf67fe6c68cc0e91aecdbfa4e07e51c6fc7 (patch)
treeec7d33e290060dffa9ca8c20f237adbb1f5ae1fc /tests/bugs151
parentf2cd94f88a9976fc98786955a764522a8ccb37f1 (diff)
downloadaspectj-e2703cf67fe6c68cc0e91aecdbfa4e07e51c6fc7.tar.gz
aspectj-e2703cf67fe6c68cc0e91aecdbfa4e07e51c6fc7.zip
test and fix for 131932
Diffstat (limited to 'tests/bugs151')
-rw-r--r--tests/bugs151/pr131932.aj21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/bugs151/pr131932.aj b/tests/bugs151/pr131932.aj
new file mode 100644
index 000000000..648f9ed34
--- /dev/null
+++ b/tests/bugs151/pr131932.aj
@@ -0,0 +1,21 @@
+import java.util.List;
+
+aspect Slide74 {
+
+ public X Bar<X>.getFirst() {
+ return lts.get(0);
+ }
+
+ <T> Foo<T>.new(List<T> elements) { this(); }
+
+ private List<C> Bar<C>.children;// = new ArrayList<C>();
+
+ static class Bar<T> {
+ List<T> lts;
+ }
+
+}
+
+class Foo<T> {
+
+}