summaryrefslogtreecommitdiffstats
path: root/tests/new
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-30 20:31:38 +0000
committerjhugunin <jhugunin>2002-12-30 20:31:38 +0000
commit4edc1f290250cb93168c0aadc9f25ba5949b6bc4 (patch)
treef3a788fe707d854e16a8b422796da644a811a49b /tests/new
parent759bac556635743571bf9041168e1db868afc187 (diff)
downloadaspectj-4edc1f290250cb93168c0aadc9f25ba5949b6bc4.tar.gz
aspectj-4edc1f290250cb93168c0aadc9f25ba5949b6bc4.zip
using declare dominates
Diffstat (limited to 'tests/new')
-rw-r--r--tests/new/DominatesTypePattern.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/new/DominatesTypePattern.java b/tests/new/DominatesTypePattern.java
index 5cfa55761..1409241fb 100644
--- a/tests/new/DominatesTypePattern.java
+++ b/tests/new/DominatesTypePattern.java
@@ -12,7 +12,7 @@ public class DominatesTypePattern {
class C {}
// works if A is specified explicitly
-abstract aspect AA dominates AA+ { // error: should dominate A
+abstract aspect AA { declare dominates: AA, (AA+ && !AA); // error: should dominate A
public String C.method() { return "pass"; }
}