def list_check(X):
            """ If the variable X is hoisted in the test_impl prange
                then subsequent list_check calls would return increasing
                values.
            """
            ret = X[-1]
            a = X[-1] + 1
            X.append(a)
            return ret
 If the variable X is hoisted in the test_impl prange
                then subsequent list_check calls would return increasing
                values.
            
numba/tests/test_parfors.py