def METHOD_NAME():
    class Foo(m.Circuit):
        io = m.IO()
    def _make_foo():  # no helper fn annotation
        return Foo()
    @magma_helper_function
    def _make_foo_annotated():
        return Foo()
    class Bar(m.Circuit):
        io = m.IO()
        Foo()
        _make_foo_annotated()
        _make_foo()
    instances = Bar.instances
    filename, lineno = uinspect.get_location()
    assert all(inst.debug_info.filename == filename for inst in instances)
    assert instances[0].debug_info.lineno == lineno - 5
    assert instances[1].debug_info.lineno == lineno - 4
    assert instances[2].debug_info.lineno == lineno - 13