Move data of handmade test from auto-generated tests data dir

KT-29187
This commit is contained in:
Kirill Shmakov
2019-02-18 20:36:26 +03:00
parent 2bec617446
commit 478c18f194
+17
View File
@@ -0,0 +1,17 @@
package sample
fun hello(): String = "Hello, Kotlin/Native!"
fun bar(count: Int) {
foo(count - 1)
}
fun foo(count: Int) {
if (count <= 0) throw Exception("foo")
bar(count - 1)
}
fun main() {
foo(20)
println(hello())
}