def METHOD_NAME(self) -> None:
    block = self.basic_block([])
    fn = FuncIR(decl=self.func_decl(name="func_1"), arg_regs=[], blocks=[block])
    assert_has_error(fn, FnError(source=block, desc="Block not terminated"))