diff options
Diffstat (limited to 'tests/bugs151/pr125080/Test2.java')
-rw-r--r-- | tests/bugs151/pr125080/Test2.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs151/pr125080/Test2.java b/tests/bugs151/pr125080/Test2.java new file mode 100644 index 000000000..a6a02bdaf --- /dev/null +++ b/tests/bugs151/pr125080/Test2.java @@ -0,0 +1,20 @@ +import java.util.*; + +abstract aspect AbstractAspect<T> implements AspectInterface<T, Integer> {} + +interface AspectInterface<T, S extends Number> { } + +aspect ConcreteAspect extends AbstractAspect<Student> { + public static void main(String []argv) { + } +} + +class Student { + private String name; + + public Student(String n) { + name = n; + } + + public String toString() { return name; } +} |