varargs (IDEA-92641)

This commit is contained in:
anna
2012-10-09 17:37:16 +02:00
parent 0fbf5f2464
commit 573abd10e3
3 changed files with 31 additions and 9 deletions

View File

@@ -7,4 +7,16 @@ class Test {
interface Foo {
void bar();
}
class Test1 {
public static void main(String... args) {}
void test() {
Foo1 foo = Test1::main;
}
}
interface Foo1 {
void bar(String... s);
}