[K/N][Tests] Adjust moved codegen tests to new infra
^KT-61259
This commit is contained in:
committed by
Space Team
parent
71a834b778
commit
73032213f0
@@ -2,8 +2,7 @@
|
||||
* Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package codegen.escapeAnalysis.test12
|
||||
// TODO: check mentioned debug output of escape analyser
|
||||
|
||||
class A(val s: String)
|
||||
|
||||
@@ -17,4 +16,4 @@ class A(val s: String)
|
||||
// Escapes:
|
||||
fun foo(arr: Array<A>) = arr[0]
|
||||
|
||||
fun main() = println(foo(arrayOf(A("zzz"))).s)
|
||||
fun box(): String = foo(arrayOf(A("OK"))).s
|
||||
Reference in New Issue
Block a user