blob: a028d1484afad09d1afe601471c5fe4ea24a3e2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* Verify the DWARF encoding of C99 floating point types. */
/* { dg-do compile */
/* { dg-options "-O0 -gdwarf -dA" } */
/* { dg-final { scan-assembler "0x4.*DW_AT_encoding" } } */
/* { dg-final { scan-assembler "0x4.*DW_AT_byte_size" } } */
/* { dg-final { scan-assembler "0x8.*DW_AT_byte_size" } } */
/* { dg-final { scan-assembler "0x10.*DW_AT_byte_size" } } */
void foo ()
{
float f = 1.5f;
double d = 1.5;
long double l = 1.5l;
}
|