diff options
author | aclement <aclement> | 2005-11-01 08:50:38 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-11-01 08:50:38 +0000 |
commit | b239073ddcd47300e3fc0cdfe4815a011602bbab (patch) | |
tree | b56476c11429d6bd8eb90398c7407281e74d5823 /tests/java5 | |
parent | 260ff1798e0aaaba8cef2c848578f5817d072abe (diff) | |
download | aspectj-b239073ddcd47300e3fc0cdfe4815a011602bbab.tar.gz aspectj-b239073ddcd47300e3fc0cdfe4815a011602bbab.zip |
testcase
Diffstat (limited to 'tests/java5')
-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; } + +} |