tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
open class A(val s: Int) {
|
||||
|
||||
}
|
||||
|
||||
infix fun Int.foo(s: Int): Int {
|
||||
return this + s
|
||||
}
|
||||
|
||||
open class B : A({ 1 foo 2} ())
|
||||
|
||||
fun box(): String {
|
||||
return if (B().s == 3) "OK" else "Fail"
|
||||
}
|
||||
Reference in New Issue
Block a user