changeset 16809 | 5acfcb821d65 |
parent 15375 | d2529dc91d77 |
child 22448 | a85fbad9d687 |
16808:90b98d194b75 | 16809:5acfcb821d65 |
---|---|
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 -XDrawDiagnostics Intersection01.java |
28 * @compile Intersection01.java |
29 */ |
29 */ |
30 class Intersection01 { |
30 class Intersection01 { |
31 |
31 |
32 interface SAM { |
32 interface SAM { |
33 void m(); |
33 void m(); |