Debian Codegraph @

gcc/testsuite/gcc.dg/debug/ctf/ctf-array-5.c

raw
1 /* CTF generation for unsized (but initialized) arrays
2
3 In this testcase, one CTF array type record of size 5 is expected.
4
5 Variables:
6 _CTF_SECTION -> 5: const const char [5] (size 0x5) -> 4: const char [5] (size 0x5)
7
8 */
9
10 /* { dg-do compile } */
11 /* { dg-options "-O0 -gctf -dA" } */
12
13 /* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 1 } } */
14
15 /* { dg-final { scan-assembler-times "\[\t \]0x5\[\t \]+\[^\n\]*cta_nelems" 1 } } */
16
17 const char _CTF_SECTION[] = ".ctf";