Add WITH_RUNTIME or WITH_REFLECT to boxWithStdlib testData

This commit is contained in:
Alexander Udalov
2016-03-07 12:47:06 +03:00
committed by Alexander Udalov
parent 2564a2f91f
commit 22bfc9786a
525 changed files with 1122 additions and 164 deletions
@@ -1,3 +1,5 @@
// WITH_RUNTIME
class A(value: Int = 1)
fun box(): String {
@@ -1,3 +1,5 @@
// WITH_RUNTIME
class A(val a: Int = 1,
val b: Int = 2,
val c: Int = 3,
@@ -1,3 +1,5 @@
// WITH_RUNTIME
fun box(): String {
return if (A().run() == "Aabc") "OK" else "fail"
}
@@ -11,4 +13,4 @@ public class A {
private fun String.show(p: Boolean = false): String = getName() + this
private fun getName() = "A"
}
}
@@ -1,3 +1,4 @@
// WITH_RUNTIME
fun def(i: Int = 0): Int {
return i;