class List {} class Test { List asList(T... ts) { return null; } void foo () { asList(new int[0], new int[0]); } }