aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/ctf/ctf-float-1.c
blob: 9e24b450ea5c84ca9a0422698e1a2c1f2f117daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Tests for CTF float base types.
   - Verify that there is a single record for the base types.  */

/* { dg-do compile )  */
/* { dg-options "-O0 -gctf -dA" } */
/* { dg-final { scan-assembler-times "ascii \"float.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
/* { dg-final { scan-assembler-times "ascii \"double.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */
/* { dg-final { scan-assembler-times "ascii \"long double.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */

float a;
float b = 33;

double c = 44;
double d = 45;

long double e;