array A_nextFree976 integer A_firstFree158 integer A_maxIndex156 array A_i608 integer wurst_stack_depth192 array wurst_stack713 integer A_firstFree158 = 0 integer A_maxIndex156 = 0 integer wurst_stack_depth192 = 0 function initGlobals545() { } function main618() { initGlobals545(); init_test164("when calling init_test in testOverloading1, line 1"); } function config208() { } function init_test164(string __wurst_stackPos112) { local integer a1132 local integer a2147 wurst_stack_713[wurst_stack_depth_192] = __wurst_stackPos_112; wurst_stack_depth_192 = (wurst_stack_depth_192 + 1); a1_132 = new_A193("when calling new_A in testOverloading1, line 9"); a2_147 = new_A193("when calling new_A in testOverloading1, line 10"); if ((A_i_608[a1_132] + A_i_608[a2_147]) == 4) { testSuccess763(); } else { }; wurst_stack_depth_192 = (wurst_stack_depth_192 - 1); } IS_NATIVE function testSuccess763() { } function new_A193(string __wurst_stackPos423) returns integer { local integer this399 wurst_stack_713[wurst_stack_depth_192] = __wurst_stackPos_423; wurst_stack_depth_192 = (wurst_stack_depth_192 + 1); wurst_stack_713[wurst_stack_depth_192] = "when calling alloc_A in testOverloading1, line 3"; wurst_stack_depth_192 = (wurst_stack_depth_192 + 1); if (A_firstFree_158 == 0) { if (A_maxIndex_156 < 32768) { A_maxIndex_156 = (A_maxIndex_156 + 1); this_399 = A_maxIndex_156; } else { error559("Out of memory: Could not create A.", "when calling error in testOverloading1, line 3"); this_399 = 0; }; } else { A_firstFree_158 = (A_firstFree_158 - 1); this_399 = A_nextFree_976[A_firstFree_158]; }; wurst_stack_depth_192 = (wurst_stack_depth_192 - 1); A_i_608[this_399] = 2; wurst_stack_depth_192 = (wurst_stack_depth_192 - 1); return this_399; } function error559(string msg103, string __wurst_stackPos193) { local integer stacktraceIndex114 local integer stacktraceLimit307 wurst_stack_713[wurst_stack_depth_192] = __wurst_stackPos_193; wurst_stack_depth_192 = (wurst_stack_depth_192 + 1); __wurst_stackPos_193 = ""; stacktraceIndex_114 = wurst_stack_depth_192; stacktraceLimit_307 = 0; loop { stacktraceIndex_114 = (stacktraceIndex_114 - 1); stacktraceLimit_307 = (stacktraceLimit_307 + 1); exitwhen ((stacktraceLimit_307 > 20) or (stacktraceIndex_114 < 0)); __wurst_stackPos_193 = (__wurst_stackPos_193 + (" " + wurst_stack_713[stacktraceIndex_114])); }; $debugPrint203((msg_103 + (" " + __wurst_stackPos_193))); wurst_stack_depth_192 = (wurst_stack_depth_192 - 1); }