Add tests for KT-48180
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
// FILE: 1.kt
|
||||
package test
|
||||
|
||||
inline fun foo(unused: Long, x: () -> String, y: () -> String, z: () -> String = { "" }) =
|
||||
x() + y() + z()
|
||||
|
||||
|
||||
// FILE: 2.kt
|
||||
import test.*
|
||||
|
||||
fun box(): String {
|
||||
val O = "O"
|
||||
return foo(1L, { O }, { "K" })
|
||||
}
|
||||
Reference in New Issue
Block a user