def METHOD_NAME():
    @proc
    def foo(N: size, x: R[N]):
        y: R
        y = 4.0
        x[0] = y
    with pytest.raises(SchedulingError, match="do not commute"):
        foo = reorder_stmts(foo, "y : R ; y = 4.0")