aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/before/CastWithIntersection.java
blob: ce97cba0313274c8d54b59e67c6b49034d1e6b90 (plain)
1
2
3
4
5
6
7
// version 8:
import java.util.*;
public class CastWithIntersection {
	public void test(List<?> list) {
		RandomAccess r = (RandomAccess & java.io.Serializable) list;
	}
}