// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1366 globals endglobals native testSuccess takes nothing returns nothing function bar takes real a, integer b returns real local integer x local real y if a > 0. then return a else set x = 1 set y = 2. * b return 1. + bar(y, x) endif endfunction function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing local integer x local real y call initGlobals() set x = 5 set y = 7. if 1. + bar(y, x) == 8. then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction