2019:77d395862700 | 2020:bb7271e64ef6 |
---|---|
1 /* | 1 /* @test /nodynamiccopyright/ |
2 * @test /nodynamiccopyright/ | 2 * @bug 7192246 |
3 * @summary check that default method must have most specific return type | 3 * @summary check that default method must have most specific return type |
4 * @compile/fail/ref=Neg04.out -XDrawDiagnostics Neg04.java | 4 * @compile/fail/ref=Neg04.out -XDrawDiagnostics Neg04.java |
5 */ | 5 */ |
6 | 6 |
7 class Neg04 { | 7 class Neg04 { |