ScriptGenTest: more

This commit is contained in:
Stepan Koltsov
2012-05-31 19:31:40 +04:00
parent 896b2fa773
commit 0f8c449f55
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
val x: Int
if (true) {
fun foo(y: Int) = y + 20
x = foo(9)
}
x
// expected: 29