code: def test_alloc_zero_dim_buffer_round_trip():
      func = alloc_zero_dim_buffer
      func_with_block = alloc_zero_dim_buffer_block
      rt_func = tvm.script.from_source(func.script())
      rt_func_with_block = tvm.script.from_source(
          func_with_block.script()
      )
      rt_mod = tvm.build(rt_func, "llvm")
      rt_mod_with_block = tvm.build(rt_func_with_block, "llvm")
      tvm.ir.assert_structural_equal(
          func.with_attr("global_symbol", "main"),
          func_with_block.with_attr("global_symbol", "main"),
      )
      tvm.ir.assert_structural_equal(
          rt_func.with_attr("global_symbol", "main"),
          rt_func_with_block.with_attr("global_symbol", "main"),
      )
      _check_alloc_zero_dim_buffer(rt_mod)
      _check_alloc_zero_dim_buffer(rt_mod_with_block)
  
file_path: tvm/tests/python/tvmscript/test_tvmscript_ops.py
imports: import numpy
  import tvm
  import tvm.testing
  from tvm.script import tir
label_desc: Use image node_id 7 for calling a global function with example usage: test_alloc_zero_dim_buffer_round_trip() without return types