code: def test_ccode_unused_array_arg():
      x = MatrixSymbol("x", 2, 1)
      # x does not appear in output
      name_expr = ("test", 1.0)
      generator = CCodeGen()
      result = codegen(
          name_expr,
          code_gen=generator,
          header=False,
          empty=False,
          argument_sequence=(x,),
      )
      source = result[0][1]
      # note: x should appear as (double *)
      expected = (
          '#include "test.h"\n'
          "#include <math.h>\n"
          "double test(double *x) {\n"
          "   double test_result;\n"
          "   test_result = 1.0;\n"
          "   return test_result;\n"
          "}\n"
      )
      assert source == expected
  
imports: from io import StringIO
  from sympy.core import symbols, Eq, pi, Catalan, Lambda, Dummy
  from sympy.core.relational import Equality
  from sympy.core.symbol import Symbol
  from sympy.functions.special.error_functions import erf
  from sympy.integrals.integrals import Integral
  from sympy.matrices import Matrix, MatrixSymbol
  from sympy.utilities.codegen import codegen, make_routine, CCodeGen, C89CodeGen, C99CodeGen, InputArgument, CodeGenError, FCodeGen, CodeGenArgumentListError, OutputArgument, InOutArgument
  from sympy.testing.pytest import raises
  from sympy.utilities.lambdify import implemented_function
label_desc: Use image node_id 26 for calling a global function with example usage: test_ccode_unused_array_arg() without return types