// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1367
globals
endglobals
native testSuccess takes nothing returns nothing
function initGlobals takes nothing returns nothing
endfunction

function foo_4 takes integer ints_0, integer ints_1, integer ints_2, integer ints_3 returns nothing
	local integer sum = 0
	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 == 34 then
		call testSuccess()
	endif
endfunction

function init_Test takes nothing returns nothing
	call foo_4(1, 2, 3, 4)
endfunction

function main takes nothing returns nothing
	call initGlobals()
	call init_Test()
endfunction

function config takes nothing returns nothing
endfunction