def METHOD_NAME():
    @dace.program
    def nested(A: dace.float64[20]):
        return A + 20
    sdfg = nested.to_sdfg()
    @dace.program
    def mainprog(A: dace.float64[30], B: dace.float64[20]):
        B[:] = sdfg(A[10:])
    A = np.random.rand(30)
    B = np.random.rand(20)
    expected = A[10:] + 20
    mainprog(A, B)
    assert np.allclose(B, expected)