blob: c2873c14edd415c8cfe008ba3e0ede70f6233bc2 [file]
// TODO: check mentioned debug output of escape analyser
class A(val s: String)
// ----- Agressive -----
// PointsTo:
// RET.v@lue -> P0.s
// Escapes:
// ----- Passive -----
// PointsTo:
// RET.v@lue -> P0.s
// Escapes:
fun foo(a: A) = a.s
fun box(): String = foo(A("OK"))