aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/after/CastWithIntersection.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/pretty/resource/after/CastWithIntersection.java')
-rw-r--r--test/pretty/resource/after/CastWithIntersection.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/pretty/resource/after/CastWithIntersection.java b/test/pretty/resource/after/CastWithIntersection.java
new file mode 100644
index 00000000..2eebdee1
--- /dev/null
+++ b/test/pretty/resource/after/CastWithIntersection.java
@@ -0,0 +1,6 @@
+import java.util.*;
+public class CastWithIntersection {
+ public void test(List<?> list) {
+ RandomAccess r = (RandomAccess & java.io.Serializable)list;
+ }
+} \ No newline at end of file