From b239073ddcd47300e3fc0cdfe4815a011602bbab Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 1 Nov 2005 08:50:38 +0000 Subject: testcase --- tests/java5/generics/bugs/SameTypeVariable.aj | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/java5/generics/bugs/SameTypeVariable.aj (limited to 'tests') 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(); + } + +} + + +class SimpleClass { + +} + +aspect X { + + public N SimpleClass.get() { return null; } +// public P SimpleClass

.get() { return null; } + +} -- cgit v1.2.3