Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
699829ccb3e80dbb53c10cccdf1e50f06a5c5346
/
.
/
idea
/
testData
/
debugger
/
nativeExceptions
/
kt29817.kt
blob: ed5c110477f9f63e74cd70a0a95ee7a0fef7b4a5 [
file
]
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
())
}