mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
This commit: - introduces tests explicating what is and isn't considered a proper main method on the JVM backends. - implements support for parameterless main methods on the JVM IR backend - See KT-34338 for more tests.
12 lines
191 B
Kotlin
Vendored
12 lines
191 B
Kotlin
Vendored
fun main() {
|
|
|
|
}
|
|
|
|
fun main(args: Array<in String>) {
|
|
|
|
}
|
|
|
|
// method: ArrayWithContravariantStringIsNotMainMethodKt::main
|
|
// jvm signature: ([Ljava/lang/String;)V
|
|
// generic signature: null
|