JetCompilerMessagingTest and K2JSCompilerMessagingTest: tests that launch the cli compiler and check that resulting messages are in correct format

This commit is contained in:
pTalanov
2012-06-15 20:12:32 +04:00
parent af307e3c6b
commit 2e531ee809
16 changed files with 205 additions and 59 deletions
@@ -0,0 +1,3 @@
package foo
fun main(args : Array<String>) {}
Binary file not shown.
@@ -0,0 +1,8 @@
package foo
import js.*
fun main(args : Array<String>) {
val c = 4 + libf()
c == 2
}
@@ -0,0 +1,5 @@
package foo
fun f() : Boolean {
}
@@ -0,0 +1,5 @@
fun main(args : Array<String>) {
val t = 0
if (t != null) {
}
}