aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/ctf/ctf-union-1.c
blob: 929d53298394caa2b7d3aca5646385e680d14e7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* CTF generation for union type.  */

/* { dg-do compile )  */
/* { dg-options "-O0 -gctf -dA" } */
/* { dg-final { scan-assembler-times "\[\t \]0x1e000004\[\t \]+\[^\n\]*ctt_info" 1 } } */
/* { dg-final { scan-assembler-times "ctm_name" 4 } } */

union c
{
  int c1;
  int c2;
  int c3;
  int c4;
} my_u_c;