22 */ |
22 */ |
23 |
23 |
24 // key: compiler.err.prob.found.req |
24 // key: compiler.err.prob.found.req |
25 // key: compiler.misc.inconvertible.types |
25 // key: compiler.misc.inconvertible.types |
26 // key: compiler.misc.incompatible.ret.type.in.mref |
26 // key: compiler.misc.incompatible.ret.type.in.mref |
27 // options: -XDallowMethodReferences -XDallowPoly |
|
28 |
27 |
29 class IncompatibleRetTypeInMref { |
28 class IncompatibleRetTypeInMref { |
30 interface SAM { |
29 interface SAM { |
31 Integer m(); |
30 Integer m(); |
32 } |
31 } |