summaryrefslogtreecommitdiffstats
path: root/tests/bugs163/pr253109/CodeFour.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs163/pr253109/CodeFour.java')
-rw-r--r--tests/bugs163/pr253109/CodeFour.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs163/pr253109/CodeFour.java b/tests/bugs163/pr253109/CodeFour.java
new file mode 100644
index 000000000..729ad8837
--- /dev/null
+++ b/tests/bugs163/pr253109/CodeFour.java
@@ -0,0 +1,13 @@
+import java.util.*;
+
+public aspect CodeFour {
+
+ static final class FinalSet<T> extends HashSet<T> {}
+
+ before(): execution(* *(..)) && args(List<?>) {}
+
+ public void m(FinalSet<String> ss) {
+ // List<?> l = (List<?>)ss; // cannot write this (FinalSet is final) so pointcut should not match
+ }
+
+}