Files
kotlin-fork/compiler/testData/integration/smoke/helloAppVarargMainIR/hello.kt
T
Kristoffer Andersen 5b62c9e54d [WIP] Add Compiler Smoke Tests for (suspend) main methods
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.
2020-02-21 12:00:50 +01:00

7 lines
120 B
Kotlin
Vendored

package Hello
fun main(vararg args: kotlin.String) {
args.size
System.out.println("Hello from vararg main!")
}