summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr110307/Case3.java
blob: 3392b051aa43c44e777d572465134134d6c88879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import java.util.*;
import java.lang.annotation.*;
import java.lang.ref.*;

interface I<T> {
}

class A {
}

aspect X {

  List<T> I<T>.foo() { return null; }  // should be ok...

  declare parents: A implements I<String>;
}