5b62c9e54d
This commit ports the (parameterless) main integration tests in `CompilerSmokeTest` to the IR backend. It also includes a simple suspend main test. The advanced ones (like `helloAppSuspendParameterlessMain`) are currently blocked by pending changes to capturing suspend lambdas, which are underway.
11 lines
180 B
Kotlin
Vendored
11 lines
180 B
Kotlin
Vendored
package Hello
|
|
|
|
suspend fun f(o: String, k: String): String {
|
|
return o + k
|
|
}
|
|
|
|
suspend fun main(args: Array<String>) {
|
|
val result = f(args[0], args[1])
|
|
println(result)
|
|
}
|