Erfolg
tests.wurstscript.tests.OptimizerTests.cyclicFunctionRemover
Standard Ausgabe (STDOUT)
// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1230 globals endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function init_Test takes nothing returns nothing local integer a = S2I("7") if a == 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 // this scrip ...[truncated 1812 chars]... r = tempReturn_integer return endif if x > 10 then call cyc_i(0, x) set tempReturn_integer = tempReturn_integer return endif set tempReturn_integer = x return endif endfunction function init_Test takes nothing returns nothing call cyc_i(3, 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