[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.
This commit is contained in:
Kristoffer Andersen
2019-11-20 15:49:50 +01:00
committed by Ilmir Usmanov
parent 55aafb3430
commit 5b62c9e54d
29 changed files with 251 additions and 1 deletions
@@ -0,0 +1 @@
Return code: 0
@@ -0,0 +1,5 @@
package Hello
fun main() {
System.out.println("Hello!")
}
@@ -0,0 +1,4 @@
OUT:
Hello!
Return code: 0