def METHOD_NAME(self) -> None:
    ret = Return(value=LoadLiteral(value="foo", rtype=str_rprimitive))
    block = self.basic_block([ret])
    fn = FuncIR(decl=self.func_decl(name="func_1"), arg_regs=[], blocks=[block])
    assert_has_error(
        fn, FnError(source=ret, desc="Invalid op reference to op of type LoadLiteral")
    )