equal
deleted
inserted
replaced
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8002099 |
26 * @bug 8002099 |
27 * @summary Add support for intersection types in cast expression |
27 * @summary Add support for intersection types in cast expression |
28 * @compile/fail/ref=Intersection01.out -XDallowIntersectionTypes -XDrawDiagnostics Intersection01.java |
28 * @compile/fail/ref=Intersection01.out -XDrawDiagnostics Intersection01.java |
29 */ |
29 */ |
30 class Intersection01 { |
30 class Intersection01 { |
31 |
31 |
32 interface SAM { |
32 interface SAM { |
33 void m(); |
33 void m(); |