Debian Codegraph @

gcc/testsuite/gcc.dg/debug/ctf/ctf-int-1.c

raw
1 /* Tests for CTF integer base types.
2 - Verify that there is a single record for the base types. */
3
4 /* { dg-do compile } */
5 /* { dg-options "-O0 -gctf -dA" } */
6 /* { dg-final { scan-assembler-times "ascii \"int.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
7 /* { dg-final { scan-assembler-times "ascii \"short int.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
8 /* { dg-final { scan-assembler-times "ascii \"long int.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
9
10 int a;
11 int b = 33;
12
13 short int c = 44;
14 short int d = 45;
15
16 long int e = 90;
17 long int f;