code: def test_codegen_decl_buffer():
      """The codegen should accept DeclBuffer nodes in its input"""
  
      @I.ir_module
      class mod:
          @T.prim_func
          def kernel(A_data: T.handle("float32")):
              T.func_attr({"global_symbol": "kernel"})
              A_buf = T.decl_buffer(
                  [256], dtype="float32", scope="global", data=A_data
              )
  
      target = tvm.target.Target("stackvm")
      stackvm_codegen = tvm.get_global_func("target.build.stackvm")
      stackvm_codegen(mod, target)
  
file_path: tvm/tests/python/codegen/test_target_codegen_vm_basic.py
imports: import tvm
  import tvm.testing
  from tvm import te
  from tvm.script import tir, ir
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: test_codegen_decl_buffer() without return types