diff options
author | aclement <aclement> | 2010-08-13 15:41:37 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-08-13 15:41:37 +0000 |
commit | b1cc39f2dfdbed072a90c54fbd440a68c7931201 (patch) | |
tree | 364a503dff7c7cae173cc1b852360bf9c5a3fb3c /tests/bugs1610 | |
parent | adbcc5d4e2d07c03e26f7abeeea1eeb4b33fec43 (diff) | |
download | aspectj-b1cc39f2dfdbed072a90c54fbd440a68c7931201.tar.gz aspectj-b1cc39f2dfdbed072a90c54fbd440a68c7931201.zip |
322446: testcode
Diffstat (limited to 'tests/bugs1610')
-rw-r--r-- | tests/bugs1610/pr322446/Code.java | 7 | ||||
-rw-r--r-- | tests/bugs1610/pr322446/I.java | 1 | ||||
-rw-r--r-- | tests/bugs1610/pr322446/Super.java | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs1610/pr322446/Code.java b/tests/bugs1610/pr322446/Code.java new file mode 100644 index 000000000..0b91530f3 --- /dev/null +++ b/tests/bugs1610/pr322446/Code.java @@ -0,0 +1,7 @@ +public class Code { + public static void main(String[]argv) { + System.out.println((new Code()) instanceof I); + } +} + +aspect Sub extends Super<Code> {} diff --git a/tests/bugs1610/pr322446/I.java b/tests/bugs1610/pr322446/I.java new file mode 100644 index 000000000..9598922a7 --- /dev/null +++ b/tests/bugs1610/pr322446/I.java @@ -0,0 +1 @@ +public interface I {} diff --git a/tests/bugs1610/pr322446/Super.java b/tests/bugs1610/pr322446/Super.java new file mode 100644 index 000000000..246a679b1 --- /dev/null +++ b/tests/bugs1610/pr322446/Super.java @@ -0,0 +1,3 @@ +abstract aspect Super<T> { + declare parents: T implements I; +} |