testsuite: debug: fix dejagnu directive syntax
[official-gcc.git] / gcc / testsuite / gcc.dg / debug / ctf / ctf-struct-array-2.c
blob17c0d9491df0c6e6cbf41fe4f1b1fda398575f1c
1 /* CTF generation for struct type in presence of DWARF2.
3 In case of DWARF2, the data member location is an expression containing
4 the location. CTF generation feeds off DWARF dies; this testcase tests
5 that the location expr is handled. */
7 /* { dg-do compile } */
8 /* { dg-options "-O0 -gctf -dA -gdwarf-2" } */
10 /* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 1 } } */
11 /* { dg-final { scan-assembler-times "\[\t \]0x4\[\t \]+\[^\n\]*cta_nelems" 1 } } */
12 /* { dg-final { scan-assembler-times "\[\t \]0\[\t \]+\[^\n\]*ctm_offset" 1 } } */
13 /* { dg-final { scan-assembler-times "\[\t \]0x20\[\t \]+\[^\n\]*ctm_offset" 1 } } */
15 static struct ranges {int from, to;} lim_regs[] = {{ 16, 7}, { 16, 6}, { 20, 7},{ 20, 6}};