integer Test_res187 array A_nextFree201 integer A_firstFree671 integer A_maxIndex126 integer wurst_stack_depth158 array wurst_stack696 integer Test_res187 = 1 integer A_firstFree671 = 0 integer A_maxIndex126 = 0 integer wurst_stack_depth158 = 0 function initGlobals112() { } function main629() { initGlobals112(); wurst_stack_696[wurst_stack_depth_158] = "when calling init_Test in localInModuleConstructor2, line 1"; wurst_stack_depth_158 = (wurst_stack_depth_158 + 1); Test_res_187 = 1; new_A806("when calling new_A in localInModuleConstructor2, line 17"); new_A_5169(3, "when calling new_A in localInModuleConstructor2, line 18"); if (Test_res_187 == 15) { testSuccess170(); } else { }; wurst_stack_depth_158 = (wurst_stack_depth_158 - 1); } function config130() { } IS_NATIVE function testSuccess170() { } function new_A806(string __wurst_stackPos908) returns integer { local integer this176 wurst_stack_696[wurst_stack_depth_158] = __wurst_stackPos_908; wurst_stack_depth_158 = (wurst_stack_depth_158 + 1); wurst_stack_696[wurst_stack_depth_158] = "when calling alloc_A in localInModuleConstructor2, line 12"; wurst_stack_depth_158 = (wurst_stack_depth_158 + 1); if (A_firstFree_671 == 0) { if (A_maxIndex_126 < 32768) { A_maxIndex_126 = (A_maxIndex_126 + 1); this_176 = A_maxIndex_126; } else { error185("Out of memory: Could not create A.", "when calling error in localInModuleConstructor2, line 10"); this_176 = 0; }; } else { A_firstFree_671 = (A_firstFree_671 - 1); this_176 = A_nextFree_201[A_firstFree_671]; }; wurst_stack_depth_158 = (wurst_stack_depth_158 - 1); Test_res_187 = (Test_res_187 + 2); Test_res_187 = ((Test_res_187 - 1) * 2); wurst_stack_depth_158 = (wurst_stack_depth_158 - 1); return this_176; } function new_A_5169(integer i231, string __wurst_stackPos104) returns integer { local integer this103 wurst_stack_696[wurst_stack_depth_158] = __wurst_stackPos_104; wurst_stack_depth_158 = (wurst_stack_depth_158 + 1); wurst_stack_696[wurst_stack_depth_158] = "when calling alloc_A in localInModuleConstructor2, line 14"; wurst_stack_depth_158 = (wurst_stack_depth_158 + 1); if (A_firstFree_671 == 0) { if (A_maxIndex_126 < 32768) { A_maxIndex_126 = (A_maxIndex_126 + 1); this_103 = A_maxIndex_126; } else { error185("Out of memory: Could not create A.", "when calling error in localInModuleConstructor2, line 10"); this_103 = 0; }; } else { A_firstFree_671 = (A_firstFree_671 - 1); this_103 = A_nextFree_201[A_firstFree_671]; }; wurst_stack_depth_158 = (wurst_stack_depth_158 - 1); Test_res_187 = (Test_res_187 + 2); Test_res_187 = ((Test_res_187 - 1) * i_231); wurst_stack_depth_158 = (wurst_stack_depth_158 - 1); return this_103; } function error185(string msg174, string __wurst_stackPos184) { local integer stacktraceIndex166 local integer stacktraceLimit195 wurst_stack_696[wurst_stack_depth_158] = __wurst_stackPos_184; wurst_stack_depth_158 = (wurst_stack_depth_158 + 1); __wurst_stackPos_184 = ""; stacktraceIndex_166 = wurst_stack_depth_158; stacktraceLimit_195 = 0; loop { stacktraceIndex_166 = (stacktraceIndex_166 - 1); stacktraceLimit_195 = (stacktraceLimit_195 + 1); exitwhen ((stacktraceLimit_195 > 20) or (stacktraceIndex_166 < 0)); __wurst_stackPos_184 = (__wurst_stackPos_184 + (" " + wurst_stack_696[stacktraceIndex_166])); }; $debugPrint421((msg_174 + (" " + __wurst_stackPos_184))); wurst_stack_depth_158 = (wurst_stack_depth_158 - 1); }