code: def test_block_has_option_vars():
      def block_has_option_vars() -> None:
          with T.block(
              "root"
          ) as x:  # error: block does not support option_vars
              T.evaluate(0.0)
  
      check_error(block_has_option_vars, 2)
  
imports: import inspect
  import re
  import pytest
  import tvm
  import tvm.testing
  from tvm import tir
  from tvm.ir.diagnostics import override_renderer
  from tvm.script import from_source
  from tvm.script import tir
label_desc: Use image node_id 26 for calling a global function with example usage: test_block_has_option_vars() without return types