tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class B () {}
|
||||
|
||||
open class A(val b : B) {
|
||||
fun a(): A = object: A(b) {}
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
val b = B()
|
||||
val a = A(b).a()
|
||||
|
||||
if (a.b !== b) return "failed"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user