aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/constexpr-53094-1.C
blob: c90fc765e1b1e0fb693f62e0d3c386992fac4ff0 (plain)
1
2
3
4
5
// { dg-do compile { target c++11 } }

typedef float __attribute__ ((vector_size (4 * sizeof (float)))) V4;
constexpr V4 v = { 1, 1, 1, 0 };
constexpr V4 r = v[0] + v;