diff options
author | wisberg <wisberg> | 2003-03-12 20:56:52 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-03-12 20:56:52 +0000 |
commit | 4b066194988a634c4da4193599ac4e0132cd3bd2 (patch) | |
tree | 4e98f60564ebfb71c48350c1b2ac5a18399b6051 | |
parent | c6d8c34761c20477a3cf6fb62d8523fd476d85df (diff) | |
download | aspectj-4b066194988a634c4da4193599ac4e0132cd3bd2.tar.gz aspectj-4b066194988a634c4da4193599ac4e0132cd3bd2.zip |
@testcase type not imported in aspect
(similar scenario to prior, but different stack trace)
-rw-r--r-- | tests/ajcTestsFailing.xml | 7 | ||||
-rw-r--r-- | tests/errors/TypeInAspectNotImportedCE.java | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/ajcTestsFailing.xml b/tests/ajcTestsFailing.xml index 19a8c048f..4f31f4087 100644 --- a/tests/ajcTestsFailing.xml +++ b/tests/ajcTestsFailing.xml @@ -56,4 +56,11 @@ </compile> </ajc-test> + <ajc-test dir="errors" + title="type not imported in aspect"> + <compile files="TypeInAspectNotImportedCE.java"> + <message kind="error" line="6"/> + </compile> + </ajc-test> + </suite> diff --git a/tests/errors/TypeInAspectNotImportedCE.java b/tests/errors/TypeInAspectNotImportedCE.java new file mode 100644 index 000000000..f79de07f3 --- /dev/null +++ b/tests/errors/TypeInAspectNotImportedCE.java @@ -0,0 +1,7 @@ + +class C { void m() { } } + +/** @testcase type not imported in aspect */ +aspect A { + Rectangle C.bounds = null; // CE 6 +} |