Support main entry-point without arguments in JVM

#KT-26574 In Progress
This commit is contained in:
Denis Zharkov
2018-09-06 18:24:35 +03:00
parent 2c920b732c
commit bc722f9c5f
11 changed files with 148 additions and 35 deletions
@@ -0,0 +1 @@
Return code: 0
@@ -0,0 +1,9 @@
package Hello
fun main(args: Array<String>) {
System.out.println("Hello!")
}
fun main() {
System.out.println("Fail")
}
@@ -0,0 +1,4 @@
OUT:
Hello!
Return code: 0