diff options
author | aclement <aclement> | 2008-11-02 19:58:10 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-11-02 19:58:10 +0000 |
commit | fb630fa62b6654767dcdef3919105a89f9becdd3 (patch) | |
tree | 502e3a9f4aef38813e8998219dccaa247bd7d7de /tests/bugs163/pr253109/CodeOne.java | |
parent | 44bef3e41af9839f1be28a80e53b7014c8e76133 (diff) | |
download | aspectj-fb630fa62b6654767dcdef3919105a89f9becdd3.tar.gz aspectj-fb630fa62b6654767dcdef3919105a89f9becdd3.zip |
253109: tests
Diffstat (limited to 'tests/bugs163/pr253109/CodeOne.java')
-rw-r--r-- | tests/bugs163/pr253109/CodeOne.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs163/pr253109/CodeOne.java b/tests/bugs163/pr253109/CodeOne.java new file mode 100644 index 000000000..0f73cac0d --- /dev/null +++ b/tests/bugs163/pr253109/CodeOne.java @@ -0,0 +1,16 @@ +import java.util.*; + +public aspect CodeOne { + before(): execution(* CodeOne.*(..)) && args(List<Number>) {} + before(): execution(* CodeOne.*(..)) && args(List<Integer>) {} + + void m(List<Integer> li) {} + + public void callm() { + List<Number> ln = new ArrayList<Number>(); + List<Integer> li = new ArrayList<Integer>(); + // m(ln);//not allowed + m(li); + } + +} |