Add tests for Obsolete issues

#KT-18977 Obsolete
This commit is contained in:
Mikhael Bogdanov
2019-01-08 15:43:17 +01:00
parent f389c31d8e
commit f7ce8c18c6
7 changed files with 53 additions and 0 deletions
@@ -1,5 +1,7 @@
// FILE: 1.kt
// NO_CHECK_LAMBDA_INLINING
package test
class A {
val foo = fun(call: () -> Unit) =
ext {
@@ -24,6 +26,7 @@ class A {
}
// FILE: 2.kt
import test.*
fun box(): String {
var result = "fail"