// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function int_foo_4 takes integer this, integer ints_0, integer ints_1, integer ints_2, integer ints_3 returns nothing local integer sum = this local integer j set sum = sum + ints_0 set j = 1 loop exitwhen j > 4 set sum = sum + j if j > 2 then exitwhen true endif set j = j + 1 endloop set sum = sum + ints_1 set j = 1 loop exitwhen j > 4 set sum = sum + j if j > 2 then exitwhen true endif set j = j + 1 endloop set sum = sum + ints_2 set j = 1 loop exitwhen j > 4 set sum = sum + j if j > 2 then exitwhen true endif set j = j + 1 endloop set sum = sum + ints_3 set j = 1 loop exitwhen j > 4 set sum = sum + j if j > 2 then exitwhen true endif set j = j + 1 endloop if sum == 37 then call testSuccess() endif endfunction function init_Test takes nothing returns nothing call int_foo_4(3, 1, 2, 3, 4) endfunction function main takes nothing returns nothing call initGlobals() call init_Test() endfunction function config takes nothing returns nothing endfunction