Files
kotlin/compiler/testData/codegen/script/topLevelFunctionClosure.kts
Pavel V. Talanov ad58617753 Script refactoring, codegen tests: change test data according to semantics change
Add some new tests for uncovered cases
2015-11-19 22:57:01 +03:00

8 lines
75 B
Kotlin
Vendored

val x = 12
fun foo(y: Int) = x + y
val rv = foo(33)
// expected: rv: 45