testdata: check that method ref on static interface method is accepted

This commit is contained in:
Anna Kozlova
2014-04-22 16:28:00 +02:00
parent 8bad8079f6
commit 57e886f7a4
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
interface I {
static void a() {}
}
interface J {
void foo();
}
class Test {
{
J j = I::a;
}
}