aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-03-12 20:46:21 +0000
committerwisberg <wisberg>2003-03-12 20:46:21 +0000
commitc6d8c34761c20477a3cf6fb62d8523fd476d85df (patch)
tree9de960c2240a636e68ceb3ffee0aff8a2318cbe8 /tests/errors
parentdb37189cebba13a30b7ccdabe70565caa7506c00 (diff)
downloadaspectj-c6d8c34761c20477a3cf6fb62d8523fd476d85df.tar.gz
aspectj-c6d8c34761c20477a3cf6fb62d8523fd476d85df.zip
@testcase type not imported in around advice
Diffstat (limited to 'tests/errors')
-rw-r--r--tests/errors/TypeNotImportedInAroundCE.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/errors/TypeNotImportedInAroundCE.java b/tests/errors/TypeNotImportedInAroundCE.java
new file mode 100644
index 000000000..01e3f0150
--- /dev/null
+++ b/tests/errors/TypeNotImportedInAroundCE.java
@@ -0,0 +1,12 @@
+
+
+
+class C { void m() { } }
+
+
+/** @testcase type not imported in around advice */
+aspect A {
+ void around() : execution(void m()) {
+ Rectangle expected = null; // CE 10
+ }
+}