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

   Test CTF generation for single element arrays.  In this testcase, one CTF
   record for array is expected with cta_nelems = 1.  */

/* { dg-do compile )  */
/* { dg-options "-O0 -gctf -dA" } */

/* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 1 } } */

/* { dg-final { scan-assembler-times "\[\t \]0x1\[\t \]+\[^\n\]*cta_nelems" 1 } } */

int b[1];