From 377ed8f4b1569214fab207dd915daadda22d2831 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 3 Nov 2008 18:53:33 +0000 Subject: 253109: testcode --- tests/bugs163/pr253109/CodeThree.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/bugs163/pr253109/CodeThree.java (limited to 'tests/bugs163') diff --git a/tests/bugs163/pr253109/CodeThree.java b/tests/bugs163/pr253109/CodeThree.java new file mode 100644 index 000000000..821eb3827 --- /dev/null +++ b/tests/bugs163/pr253109/CodeThree.java @@ -0,0 +1,13 @@ +import java.util.*; + +public aspect CodeThree { + before(): execution(* CodeThree.*(..)) && args(List) {} // yes + before(): execution(* CodeThree.*(..)) && args(ArrayList) {} // yes - runtime check + before(): execution(* CodeThree.*(..)) && args(List) {} // no + before(): execution(* CodeThree.*(..)) && args(ArrayList) {} // no + before(): execution(* CodeThree.*(..)) && args(List) {} // yes + before(): execution(* CodeThree.*(..)) && args(ArrayList) {} // yes - runtime check + + void m(List li) {} + +} -- cgit v1.2.3