Remove codegen tests out of JetNpeTest

This commit is contained in:
Alexander Udalov
2013-01-24 22:00:03 +04:00
parent 1c0cdbf142
commit c8f73cfdae
4 changed files with 20 additions and 19 deletions
@@ -0,0 +1 @@
fun box() = if (10!! == 10) "OK" else "fail"
@@ -0,0 +1,9 @@
fun box(): String {
try {
if ((null : Int?)!! == 10) return "Fail #1"
return "Fail #2"
}
catch (e: Exception) {
return "OK"
}
}