35505007d2
* Fixes to tests * RunKonanTest runs tests build with TestRunner * Standalone tests
14 lines
180 B
Kotlin
14 lines
180 B
Kotlin
fun fail() {
|
|
println("Test failed, this is a wrong main() function.")
|
|
}
|
|
|
|
fun foo(args: Array<String>) {
|
|
println("Hello.")
|
|
}
|
|
|
|
|
|
fun main(args: Array<String>) {
|
|
fail()
|
|
}
|
|
|