code: def test_error_c_interface():
      """Checks that an error occurs when using the packed API in combination with C interface"""
  
      two = relay.add(relay.const(1), relay.const(1))
      func = relay.Function([], two)
  
      with pytest.raises(
          tvm.TVMError,
          match=re.escape(
              'Need unpacked-api == false (got: 0) and interface-api == "packed" (got: c) when '
              "targeting c++ runtime"
          ),
      ):
          tvm.relay.build(
              IRModule.from_expr(func),
              target="llvm",
              executor=backend.Executor("aot", {"interface-api": "c"}),
          )
  
file_path: tvm/tests/python/relay/aot/test_cpp_aot.py
imports: import re
  import textwrap
  import numpy
  import pytest
  import tvm
  from tvm import IRModule
  from tvm import relay
  from tvm.relay import backend, testing
  from tvm.testing.aot import generate_ref_data
label_desc: Use image node_id 1 for calling a global function with example usage: test_error_c_interface() without return types