def METHOD_NAME():
    @proc
    def foo(N: size, x: R[N, N]):
        for i in seq(0, N):
            for j in seq(0, N):
                x[i, j] = x[j, i] * 2.0
    with pytest.raises(SchedulingError, match="cannot be reordered"):
        foo = reorder_loops(foo, "i j")