diff options
author | Andy Clement <andrew.clement@gmail.com> | 2013-04-01 14:34:25 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2013-04-01 14:34:25 -0700 |
commit | 99414d4203fc52b93dfa8ecb69211766609137ad (patch) | |
tree | 22f560022a2bd577bef7b2bc9c07cebf1c2ec0a1 /tests/bugs173/lyor | |
parent | 1afe1016d04389da4918b3d91f0d8125183dd040 (diff) | |
download | aspectj-99414d4203fc52b93dfa8ecb69211766609137ad.tar.gz aspectj-99414d4203fc52b93dfa8ecb69211766609137ad.zip |
Fix for 404601
Added 1.7.3 test suite
Diffstat (limited to 'tests/bugs173/lyor')
-rw-r--r-- | tests/bugs173/lyor/2/A1.java | 9 | ||||
-rw-r--r-- | tests/bugs173/lyor/2/A2.java | 4 | ||||
-rw-r--r-- | tests/bugs173/lyor/2/Code.java | 1 | ||||
-rw-r--r-- | tests/bugs173/lyor/2/Intface.java | 1 | ||||
-rw-r--r-- | tests/bugs173/lyor/Code.java | 13 |
5 files changed, 28 insertions, 0 deletions
diff --git a/tests/bugs173/lyor/2/A1.java b/tests/bugs173/lyor/2/A1.java new file mode 100644 index 000000000..18d7ca8fc --- /dev/null +++ b/tests/bugs173/lyor/2/A1.java @@ -0,0 +1,9 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +@interface Foo {} + +aspect A1 { + declare @method: void Intface+.getName(): @Foo; +} + diff --git a/tests/bugs173/lyor/2/A2.java b/tests/bugs173/lyor/2/A2.java new file mode 100644 index 000000000..c5e8b6161 --- /dev/null +++ b/tests/bugs173/lyor/2/A2.java @@ -0,0 +1,4 @@ +aspect A2 { + public void Intface.getName() { } +} + diff --git a/tests/bugs173/lyor/2/Code.java b/tests/bugs173/lyor/2/Code.java new file mode 100644 index 000000000..309a3bb61 --- /dev/null +++ b/tests/bugs173/lyor/2/Code.java @@ -0,0 +1 @@ +class C implements Intface {} diff --git a/tests/bugs173/lyor/2/Intface.java b/tests/bugs173/lyor/2/Intface.java new file mode 100644 index 000000000..25c8c3276 --- /dev/null +++ b/tests/bugs173/lyor/2/Intface.java @@ -0,0 +1 @@ +interface Intface {} diff --git a/tests/bugs173/lyor/Code.java b/tests/bugs173/lyor/Code.java new file mode 100644 index 000000000..50b372627 --- /dev/null +++ b/tests/bugs173/lyor/Code.java @@ -0,0 +1,13 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +@interface Foo {} + +aspect A { + declare @method: void *.getName(): @Foo; + public void Intface.getName() { } +} + +interface Intface { } + +class C implements Intface {} |