summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/dwarf2/const2.C
blob: 27f4c265851309df89ccacd6e63c36b6b62b4b78 (plain)
1
2
3
4
5
6
/* { dg-do compile { target powerpc_altivec_ok } } */
/* { dg-options "-O -gdwarf-2 -dA -maltivec" } */
/* { dg-final { scan-assembler "DW_AT_const_value" } } */

typedef float FloatVect __attribute__((__vector_size__(16)));
const FloatVect Foo = { 250000000.0, 0.0, 0.0, 0.0 };