Debian Codegraph @

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

raw
1 /* CTF generation for array type.
2
3 Test CTF generation for single element arrays. In this testcase, one CTF
4 record for array is expected with cta_nelems = 1. */
5
6 /* { dg-do compile } */
7 /* { dg-options "-O0 -gctf -dA" } */
8
9 /* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 1 } } */
10
11 /* { dg-final { scan-assembler-times "\[\t \]0x1\[\t \]+\[^\n\]*cta_nelems" 1 } } */
12
13 int b[1];