Minor: move tests

This commit is contained in:
Dmitry Petrov
2018-09-21 16:15:42 +03:00
parent f9a419f940
commit 26602c8443
7 changed files with 115 additions and 115 deletions
@@ -0,0 +1,12 @@
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND: JVM_IR
inline class R(private val r: Int) {
fun test() = pf()
companion object {
private fun pf() = "OK"
}
}
fun box() = R(0).test()
@@ -0,0 +1,12 @@
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND: JVM_IR
inline class R(private val r: Int) {
fun test() = pv
companion object {
private val pv = "OK"
}
}
fun box() = R(0).test()