aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-18 01:12:56 +0000
committerjhugunin <jhugunin>2002-12-18 01:12:56 +0000
commite9c55d991fc9ac325b3ca73ef1fa675c53fe0558 (patch)
tree8a6aa3b6463efa4a6fd4645bf514e5a7b668e054 /tests/new
parent1a7e33c22f12bef237855a89cc4a223b97582a66 (diff)
downloadaspectj-e9c55d991fc9ac325b3ca73ef1fa675c53fe0558.tar.gz
aspectj-e9c55d991fc9ac325b3ca73ef1fa675c53fe0558.zip
can't use type patterns in inter-type declarations
Diffstat (limited to 'tests/new')
-rw-r--r--tests/new/TypeNames.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/new/TypeNames.java b/tests/new/TypeNames.java
index e1aae7255..6e8758056 100644
--- a/tests/new/TypeNames.java
+++ b/tests/new/TypeNames.java
@@ -31,9 +31,9 @@ class MySuffix {
aspect A {
// BUG: This is all that's required to provoke the bug in -Xlint mode
- public String (*..*Suffix).toString() { // lint: no type matched
- return "ok";
- }
+ declare parents: *..*Suffix implements Runnable; // lint: no type matched
+
+
// coverage cases
before() : staticinitialization(*..*Suffix) { // lint: no type matched