test/tools/javac/diags/examples/MethodReferencesNotSupported.java

changeset 1352
d4b3cb1ece84
parent 1145
3343b22e2761
child 2525
2eb010b6cb22
equal deleted inserted replaced
1351:f4e45397722a 1352:d4b3cb1ece84
23 23
24 // key: compiler.err.method.references.not.supported.in.source 24 // key: compiler.err.method.references.not.supported.in.source
25 // options: -source 7 -Xlint:-options 25 // options: -source 7 -Xlint:-options
26 26
27 class MethodReferencesNotSupported { 27 class MethodReferencesNotSupported {
28 S s = A#foo; 28 S s = A::foo;
29 } 29 }

mercurial