(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
debug/
btf/
btf-union-1.c
       1  /* Test BTF generation for union type.  */
       2  
       3  /* { dg-do compile )  */
       4  /* { dg-options "-O0 -gbtf -dA" } */
       5  
       6  /* One union type with 4 members */
       7  /* { dg-final { scan-assembler-times "\[\t \]0x5000004\[\t \]+\[^\n\]*btt_info" 1 } } */
       8  /* { dg-final { scan-assembler-times "btm_name" 4 } } */
       9  
      10  union onion
      11  {
      12    int redness;
      13    char *name;
      14    unsigned short freshness;
      15    unsigned short flavor;
      16  } my_onion;