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