beedd72015-03-16Martin Nilsson START_MARKER test_true(Debug.refs("")); test_true(Debug.refs(({}))); test_true(Debug.refs(([])));
f960bd2015-07-31Martin Nilsson test_true(Debug.refs(this))
beedd72015-03-16Martin Nilsson test_true(arrayp( Debug.next(({})) || Debug.prev(({}))))
f960bd2015-07-31Martin Nilsson test_do(object o=this; while(o=Debug.next(o))) test_do(object o=this; while(o=Debug.prev(o)))
beedd72015-03-16Martin Nilsson  test_true(objectp(Debug.next_object()) || intp(Debug.next_object()) && Debug.next_object()) test_any([[ object o=Debug.next_object(); for(int e=0; e<10000 && (objectp(o) || intp(o) && o); e++) o=Debug.next_object(o); return o; ]], 0) END_MARKER