mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
13 lines
396 B
Java
13 lines
396 B
Java
public class Test {
|
|
|
|
public static void test() {
|
|
var x = Unavailable.f()::g;
|
|
}
|
|
|
|
}
|
|
|
|
// Diagnostic Matches: 1 javac errors
|
|
// Diagnostic Matches: Unable to extract method reference Unavailable.f()::g with no owner type
|
|
// Diagnostic Matches: Unknown or erroneous type for expression of kind MemberReference
|
|
// Diagnostic Matches: Unknown or erroneous type for expression of kind TypeAccess
|