// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1367
globals
integer Test_ghs=0
endglobals
native testFail takes string msg returns nothing
native testSuccess takes nothing returns nothing
function initGlobals takes nothing returns nothing
endfunction

function nonInlinable takes integer x returns boolean
	if x > 6 then
		return true
	else
		return false
	endif
endfunction

function init_Test takes nothing returns nothing
	local integer x
	set Test_ghs = 12
	set x = 6
	if nonInlinable(x) then
		set Test_ghs = 0
		call testFail("bad")
	else
		set Test_ghs = 0
		if Test_ghs == 0 then
			call testSuccess()
		endif
	endif
endfunction

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

function config takes nothing returns nothing
endfunction