'A bug breaks array return if the function starts with a loop'

def test_array_return_start_with_loop(self):

    a = np.arange(10)
    at = typeof(a)
    cres = compile_isolated(array_return_start_with_loop, [at])
    cfunc = cres.entry_point
    self.assertIs(a, cfunc(a))
