diff options
author | acolyer <acolyer> | 2005-08-31 14:11:45 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-31 14:11:45 +0000 |
commit | a0ab747e10653a76abf8ddf839fa6b830e65acb1 (patch) | |
tree | ea0f5d0497f6857b54aaa630a8bf9a74896562db /tests/bugs150 | |
parent | b953c0347a539890d9e1f87feabc78a3d687c50f (diff) | |
download | aspectj-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.aj | 13 |
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 |