diff options
author | aclement <aclement> | 2005-10-21 06:56:11 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-21 06:56:11 +0000 |
commit | 3021284f5d910a406d26a01ce836bbb5f5cd6bfc (patch) | |
tree | e8a059eb712f096be5a764b9dc7112b0c55677da /tests/bugs150/pr111915.java | |
parent | 6e337a8e27541f3223a5312bd47013f195915be1 (diff) | |
download | aspectj-3021284f5d910a406d26a01ce836bbb5f5cd6bfc.tar.gz aspectj-3021284f5d910a406d26a01ce836bbb5f5cd6bfc.zip |
test and fix for pr111915
Diffstat (limited to 'tests/bugs150/pr111915.java')
-rw-r--r-- | tests/bugs150/pr111915.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs150/pr111915.java b/tests/bugs150/pr111915.java new file mode 100644 index 000000000..f0ca3abae --- /dev/null +++ b/tests/bugs150/pr111915.java @@ -0,0 +1,17 @@ +import java.io.*; + +class SomeClass { + public void doSomething() { } +} + +aspect DoesntCompile { + + declare parents : SomeClass implements Serializable; + + pointcut doSomething(SomeClass someClass) : + execution(void SomeClass.doSomething()) && + this(someClass); + + void around(Serializable myWorld) : doSomething(myWorld) { } + +}
\ No newline at end of file |