Files
kotlin/compiler/testData/codegen/scriptCustom/fibwprunner.kts
Alexander Udalov 74d6ef73d4 Prevent double initialization in codegen tests, fix ScriptGenTest#testDependentScripts
Add an assertion to prevent duplicate initialization of CodegenTestFiles
instance in CodegenTestCase, which was happening in ScriptGenTest with multiple
invocation of loadFile()
2016-10-02 21:03:28 +03:00

4 lines
104 B
Kotlin
Vendored

val fibwp = test.Fibwp_lang(5)
val callResult = fibwp.fib(4)
val result = fibwp.num + fibwp.result - 5