blob: 79460815a326da626e156a3c0b7e5256ecb0b1dd [file] [log] [blame]
// WITH_RUNTIME
package test
data class My(val x: Int)
fun foo(f: () -> My) {}
fun test() {
foo(fun(): My {
return My(42)
})
}