(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
debug/
ctf/
ctf-function-pointers-4.c
       1  /* CTF generation of function pointers.
       2  
       3     In this testcase, Type de-duplication of function type is exercised.  */
       4  
       5  /* { dg-do compile )  */
       6  /* { dg-options "-O0 -gctf -dA" } */
       7  /* { dg-final { scan-assembler-times "\[\t \]0x16000001\[\t \]+\[^\n\]*ctt_info" 1 } } */
       8  /* { dg-final { scan-assembler-times "ascii \"var_assign_func_t.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
       9  
      10  struct variable;
      11  
      12  typedef struct variable *var_assign_func_t (struct variable *);
      13  
      14  typedef struct variable {
      15    var_assign_func_t *assign_func;
      16  } shell_var_t;
      17  
      18  shell_var_t a;