Test tail recursion in compiler/VM