def METHOD_NAME():
    T = m.Array[10, IO]
    class Foo(m.Circuit):
        name = "Foo"
        io = m.IO(IFC=T)
        for i in range(10):
            m.wire(io.IFC[i].I, io.IFC[i].O)
    m.compile("build/test_array_nesting", Foo, output="coreir")
    assert check_files_equal(__file__, f"build/test_array_nesting.json",
                             f"gold/test_array_nesting.json")