8435f0daf2
Reviewed-by: jjg
17 lines
366 B
Java
17 lines
366 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8003280
|
|
* @summary Add lambda tests
|
|
* check that classfiles with member ref CP entries are read correctly
|
|
* @compile/fail/ref=InaccessibleMref01.out -XDrawDiagnostics InaccessibleMref01.java
|
|
*/
|
|
class InaccessibleMref01 {
|
|
interface SAM {
|
|
void m();
|
|
}
|
|
|
|
void test(p1.C c) {
|
|
SAM s = c::m;
|
|
}
|
|
}
|