// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1366
globals
real tempReturn_real=0.
endglobals
native testSuccess takes nothing returns nothing
function initGlobals takes nothing returns nothing
endfunction

function cyc_bar takes integer funcChoice, real a, integer b, real y returns nothing
	if funcChoice == 0 then
		if a > 0. then
			set tempReturn_real = a
			return
		else
			call cyc_bar(1, 0., 1, 2. * b)
			set tempReturn_real = tempReturn_real
			return
		endif
	elseif funcChoice == 1 then
		call cyc_bar(0, y, b, 0.)
		set tempReturn_real = 1. + tempReturn_real
		return
	endif
endfunction

function init_Test takes nothing returns nothing
	call cyc_bar(1, 0., 5, 7.)
	if tempReturn_real == 8. then
		call testSuccess()
	endif
endfunction

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

function config takes nothing returns nothing
endfunction