aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-08-31 14:11:45 +0000
committeracolyer <acolyer>2005-08-31 14:11:45 +0000
commita0ab747e10653a76abf8ddf839fa6b830e65acb1 (patch)
treeea0f5d0497f6857b54aaa630a8bf9a74896562db /tests/bugs150
parentb953c0347a539890d9e1f87feabc78a3d687c50f (diff)
downloadaspectj-a0ab747e10653a76abf8ddf839fa6b830e65acb1.tar.gz
aspectj-a0ab747e10653a76abf8ddf839fa6b830e65acb1.zip
tests and fix for pr105479, declare parents introducing method override with covariance
Diffstat (limited to 'tests/bugs150')
-rw-r--r--tests/bugs150/pr105479.aj13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs150/pr105479.aj b/tests/bugs150/pr105479.aj
new file mode 100644
index 000000000..75e676a50
--- /dev/null
+++ b/tests/bugs150/pr105479.aj
@@ -0,0 +1,13 @@
+public aspect pr105479 {
+ private interface Test {
+ Object getId();
+ }
+
+ class StringTest {
+ public String getId() {
+ return null;
+ }
+ }
+
+ declare parents : StringTest implements Test;
+} \ No newline at end of file