// WITH_RUNTIME class Test { @Throws(RuntimeException::class) fun a() { throw myError() } } fun myError() = RuntimeException()