28b6913a25
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.
22 lines
393 B
Kotlin
Vendored
22 lines
393 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
fun main() {
|
|
|
|
}
|
|
|
|
@JvmName("notMain")
|
|
fun main(args: Array<String>) {
|
|
|
|
}
|
|
|
|
// method: NotJvmMainNameKt::main
|
|
// jvm signature: ()V
|
|
// generic signature: null
|
|
|
|
// method: NotJvmMainNameKt::main
|
|
// jvm signature: ([Ljava/lang/String;)V
|
|
// generic signature: null
|
|
|
|
// method: NotJvmMainNameKt::notMain
|
|
// jvm signature: ([Ljava/lang/String;)V
|
|
// generic signature: null
|