array A_nextFree179 integer A_firstFree343 integer A_maxIndex202 array A_i186 integer A_firstFree343 = 0 integer A_maxIndex202 = 0 function initGlobals216() { } function main210() { initGlobals216(); init_test519(); } function config933() { } function init_test519() { if (A_op_mult471(new_A849(), new_A849()) == 4) { testSuccess136(); } else { }; } IS_NATIVE function testSuccess136() { } function A_op_mult471(integer this335, integer a220) returns integer { return (A_i_186[this_335] * A_i_186[a_220]); } function A_init117(integer this653) { A_i_186[this_653] = 2; } function new_A849() returns integer { local integer this383 this_383 = alloc_A104(); construct_A428(this_383); return this_383; } function construct_A428(integer this836) { A_init117(this_836); } function alloc_A104() returns integer { local integer this150 if (A_firstFree_343 == 0) { if (A_maxIndex_202 < 32768) { A_maxIndex_202 = (A_maxIndex_202 + 1); this_150 = A_maxIndex_202; } else { error167("Out of memory: Could not create A."); this_150 = 0; }; } else { A_firstFree_343 = (A_firstFree_343 - 1); this_150 = A_nextFree_179[A_firstFree_343]; }; return this_150; } function error167(string msg103) { $debugPrint129((msg_103 + (" " + #getStackTrace()))); }