gcc/testsuite/gcc.dg/debug/ctf/ctf-union-1.c
raw| 1 | /* CTF generation for union type. */ |
| 2 | |
| 3 | /* { dg-do compile } */ |
| 4 | /* { dg-options "-O0 -gctf -dA" } */ |
| 5 | /* { dg-final { scan-assembler-times "\[\t \]0x1e000004\[\t \]+\[^\n\]*ctt_info" 1 } } */ |
| 6 | /* { dg-final { scan-assembler-times "ctm_name" 4 } } */ |
| 7 | |
| 8 | union c |
| 9 | { |
| 10 | int c1; |
| 11 | int c2; |
| 12 | int c3; |
| 13 | int c4; |
| 14 | } my_u_c; |