From: aclement Date: Wed, 19 Mar 2008 23:32:58 +0000 (+0000) Subject: 223226: testcode X-Git-Tag: V1_6_0rc1~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6629437ab7083aae89792a75e5bbc1ef71fd0a21;p=aspectj.git 223226: testcode --- diff --git a/tests/bugs160/pr223226/AspectX.java b/tests/bugs160/pr223226/AspectX.java new file mode 100644 index 000000000..188be0ca2 --- /dev/null +++ b/tests/bugs160/pr223226/AspectX.java @@ -0,0 +1,5 @@ +public aspect AspectX +{ + public A AspectXMarker.doSomething(B b) { return null; } +} + diff --git a/tests/bugs160/pr223226/AspectXMarker.java b/tests/bugs160/pr223226/AspectXMarker.java new file mode 100644 index 000000000..7397de4e9 --- /dev/null +++ b/tests/bugs160/pr223226/AspectXMarker.java @@ -0,0 +1,4 @@ +public interface AspectXMarker > extends +FooInterface +{ } + diff --git a/tests/bugs160/pr223226/BInterface.java b/tests/bugs160/pr223226/BInterface.java new file mode 100644 index 000000000..790d4967c --- /dev/null +++ b/tests/bugs160/pr223226/BInterface.java @@ -0,0 +1,2 @@ +public interface BInterface { } + diff --git a/tests/bugs160/pr223226/Foo.java b/tests/bugs160/pr223226/Foo.java new file mode 100644 index 000000000..aa42921f2 --- /dev/null +++ b/tests/bugs160/pr223226/Foo.java @@ -0,0 +1,2 @@ +public class Foo> implements AspectXMarker +{} diff --git a/tests/bugs160/pr223226/FooInterface.java b/tests/bugs160/pr223226/FooInterface.java new file mode 100644 index 000000000..e4884ba47 --- /dev/null +++ b/tests/bugs160/pr223226/FooInterface.java @@ -0,0 +1,5 @@ +public interface FooInterface +{ + public A doSomething(B transition); +} + diff --git a/tests/bugs160/pr223226/Test.java b/tests/bugs160/pr223226/Test.java new file mode 100644 index 000000000..354916dcb --- /dev/null +++ b/tests/bugs160/pr223226/Test.java @@ -0,0 +1,9 @@ +public class Test +{ + public static void main(String[] args) + { + Foo> foo = new Foo>(); + + foo.doSomething(null); + } +}