code: def test_domain_c_ast_anon_definitions():
      check(
          "struct", "@a", {1: "@a"}, asTextOutput="struct [anonymous]"
      )
      check("union", "@a", {1: "@a"}, asTextOutput="union [anonymous]")
      check("enum", "@a", {1: "@a"}, asTextOutput="enum [anonymous]")
      check(
          "struct", "@1", {1: "@1"}, asTextOutput="struct [anonymous]"
      )
      check(
          "struct",
          "@a.A",
          {1: "@a.A"},
          asTextOutput="struct [anonymous].A",
      )
  
imports: import itertools
  import zlib
  from xml.etree import ElementTree
  import pytest
  from sphinx import addnodes
  from sphinx.addnodes import desc, desc_content, desc_name, desc_parameter, desc_parameterlist, desc_sig_name, desc_sig_space, desc_signature, desc_signature_line, pending_xref
  from sphinx.domains.c import DefinitionError, DefinitionParser, Symbol, _id_prefix, _macroKeywords, _max_id
  from sphinx.ext.intersphinx import load_mappings, normalize_intersphinx_mapping
  from sphinx.testing import restructuredtext
  from sphinx.testing.util import assert_node
  from sphinx.writers.text import STDINDENT
label_desc: Use image node_id 14 for calling a global function with example usage: test_domain_c_ast_anon_definitions() without return types