FIR: add forgotten test data for old FE test

This commit is contained in:
Mikhail Glukhikh
2019-12-16 11:09:57 +03:00
parent acf48a1af7
commit 637e6f5acc
@@ -0,0 +1,11 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE -UNCHECKED_CAST -UNUSED_PARAMETER
// !LANGUAGE: +NewInference
// SKIP_TXT
import java.util.*
fun <T> foo (f: () -> List<T>): T = null as T
fun main() {
val x = foo { Collections.emptyList() }
}