Move data of handmade test from auto-generated tests data dir
KT-29187
This commit is contained in:
@@ -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())
|
||||
}
|
||||
Reference in New Issue
Block a user