diff options
author | aclement <aclement> | 2011-04-27 20:54:05 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-04-27 20:54:05 +0000 |
commit | 63b41bcc254ccca230d910396ebc36ec6ab7845b (patch) | |
tree | 78f70771a1e9b98c60affa8bb27bf69663381d08 /tests/bugs1612/pr344005 | |
parent | f8ff09094b862b63ec44f8215f8e70337b93cb57 (diff) | |
download | aspectj-63b41bcc254ccca230d910396ebc36ec6ab7845b.tar.gz aspectj-63b41bcc254ccca230d910396ebc36ec6ab7845b.zip |
344005: fix. Tests are in here but unfinished.
Diffstat (limited to 'tests/bugs1612/pr344005')
-rw-r--r-- | tests/bugs1612/pr344005/Anno.java | 4 | ||||
-rw-r--r-- | tests/bugs1612/pr344005/Azpect.java | 12 | ||||
-rw-r--r-- | tests/bugs1612/pr344005/Types.java | 12 |
3 files changed, 28 insertions, 0 deletions
diff --git a/tests/bugs1612/pr344005/Anno.java b/tests/bugs1612/pr344005/Anno.java new file mode 100644 index 000000000..148fd7c4c --- /dev/null +++ b/tests/bugs1612/pr344005/Anno.java @@ -0,0 +1,4 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +@interface Anno {} diff --git a/tests/bugs1612/pr344005/Azpect.java b/tests/bugs1612/pr344005/Azpect.java new file mode 100644 index 000000000..55bb73c03 --- /dev/null +++ b/tests/bugs1612/pr344005/Azpect.java @@ -0,0 +1,12 @@ +interface Marker { + +void doit(String s); +} + +aspect Azpect { + declare parents: (@Anno *) implements Marker; + + public void Marker.doit(String t) {} + + before(Marker m): execution(void m()) && this(m) {} +} diff --git a/tests/bugs1612/pr344005/Types.java b/tests/bugs1612/pr344005/Types.java new file mode 100644 index 000000000..7a1399970 --- /dev/null +++ b/tests/bugs1612/pr344005/Types.java @@ -0,0 +1,12 @@ +public class Types { +} + +//@Anno +//class X { +// public void m() {} +//} + +@Anno +class Y<T> { + public void m() {} +} |