// WITH_RUNTIME class A(val x: String) fun foo(a: A) { a.x.substring(0, a.x.indexOf('x')) }