diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/java5/generics/bugs/SameTypeVariable.aj | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/java5/generics/bugs/SameTypeVariable.aj b/tests/java5/generics/bugs/SameTypeVariable.aj new file mode 100644 index 000000000..e6f39a2d7 --- /dev/null +++ b/tests/java5/generics/bugs/SameTypeVariable.aj @@ -0,0 +1,19 @@ +public class SameTypeVariable { + + public static void main(String[]argv) { + new SimpleClass<Double>(); + } + +} + + +class SimpleClass<N extends Number> { + +} + +aspect X { + + public N SimpleClass<N>.get() { return null; } +// public P SimpleClass<P>.get() { return null; } + +} |