Erfolg

tests.wurstscript.tests.OptimizerTests.controlFlowMergeSideEffect

Dauer: 0,35 Sekunden.

Standard Ausgabe (STDOUT)

// this script was compiled with wurst 1.8.0.0-jenkins-Wurst-1069
globals
integer tempReturn_integer=0
endglobals
native testSuccess takes nothing returns nothing
function initGlobals takes nothing returns nothing
endfunction

function cyc_h takes integer funcChoice, integer x returns nothing
	if funcChoice == 0 then
		call cyc_h(1, x / 100)
		set tempReturn_integer = tempReturn_integer
		return
	elseif funcChoice == 1 then
		if x > 1000 then
			call cyc_h(3, x)
			set tempReturn_integer = tempR
...[truncated 312 chars]...
yc_h(1, x / 10)
		set tempReturn_integer = tempReturn_integer
		return
	elseif funcChoice == 3 then
		call cyc_h(1, x / 1000)
		set tempReturn_integer = tempReturn_integer
		return
	endif
endfunction

function init_Test takes nothing returns nothing
	call cyc_h(1, 7531)
	if tempReturn_integer == 7 then
		call testSuccess()
	endif
endfunction

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

function config takes nothing returns nothing
endfunction


Standard Fehler (STDERR)

1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665
1751543663
1751543664
1751543665