array A_nextFree191 integer A_firstFree398 integer A_maxIndex189 array A_i206 integer wurst_stack_depth113 array wurst_stack140 integer A_firstFree398 = 0 integer A_maxIndex189 = 0 integer wurst_stack_depth113 = 0 function initGlobals730() { } function main541() { initGlobals730(); init_test798("when calling init_test in testOverloading1_3, line 1"); } function config140() { } function init_test798(string __wurst_stackPos173) { local integer a1591 local integer a2117 wurst_stack_140[wurst_stack_depth_113] = __wurst_stackPos_173; wurst_stack_depth_113 = (wurst_stack_depth_113 + 1); a1_591 = new_A195("when calling new_A in testOverloading1_3, line 9"); a2_117 = new_A195("when calling new_A in testOverloading1_3, line 10"); if ((A_i_206[a1_591] * A_i_206[a2_117]) == 4) { testSuccess113(); } else { }; wurst_stack_depth_113 = (wurst_stack_depth_113 - 1); } IS_NATIVE function testSuccess113() { } function new_A195(string __wurst_stackPos160) returns integer { local integer this821 wurst_stack_140[wurst_stack_depth_113] = __wurst_stackPos_160; wurst_stack_depth_113 = (wurst_stack_depth_113 + 1); wurst_stack_140[wurst_stack_depth_113] = "when calling alloc_A in testOverloading1_3, line 3"; wurst_stack_depth_113 = (wurst_stack_depth_113 + 1); if (A_firstFree_398 == 0) { if (A_maxIndex_189 < 32768) { A_maxIndex_189 = (A_maxIndex_189 + 1); this_821 = A_maxIndex_189; } else { error203("Out of memory: Could not create A.", "when calling error in testOverloading1_3, line 3"); this_821 = 0; }; } else { A_firstFree_398 = (A_firstFree_398 - 1); this_821 = A_nextFree_191[A_firstFree_398]; }; wurst_stack_depth_113 = (wurst_stack_depth_113 - 1); A_i_206[this_821] = 2; wurst_stack_depth_113 = (wurst_stack_depth_113 - 1); return this_821; } function error203(string msg213, string __wurst_stackPos365) { local integer stacktraceIndex196 local integer stacktraceLimit207 wurst_stack_140[wurst_stack_depth_113] = __wurst_stackPos_365; wurst_stack_depth_113 = (wurst_stack_depth_113 + 1); __wurst_stackPos_365 = ""; stacktraceIndex_196 = wurst_stack_depth_113; stacktraceLimit_207 = 0; loop { stacktraceIndex_196 = (stacktraceIndex_196 - 1); stacktraceLimit_207 = (stacktraceLimit_207 + 1); exitwhen ((stacktraceLimit_207 > 20) or (stacktraceIndex_196 < 0)); __wurst_stackPos_365 = (__wurst_stackPos_365 + (" " + wurst_stack_140[stacktraceIndex_196])); }; $debugPrint100((msg_213 + (" " + __wurst_stackPos_365))); wurst_stack_depth_113 = (wurst_stack_depth_113 - 1); }