code: def test_var_capturing_order():
      b = 2
  
      @T.prim_func
      def test_case():
          k: T.int32 = b
  
      @T.prim_func
      def func_ref():
          k: T.int32 = 2
          T.evaluate(0)
  
      tvm.ir.assert_structural_equal(
          test_case.with_attr("global_symbol", "main"),
          func_ref.with_attr("global_symbol", "main"),
      )
  
file_path: tvm/tests/python/tvmscript/test_tvmscript_regression.py
imports: import numpy
  import tvm
  import tvm.testing
  from tvm.script import tir
label_desc: Use image node_id 4 for calling a global function with example usage: test_var_capturing_order() without return types