1 // { dg-do compile { target c++11 } }
2 // { dg-options "" }
3 // Ignore warning on some powerpc-ibm-aix configurations.
4 // { dg-prune-output "non-standard ABI extension" }
5 
6 typedef float __attribute__ ((vector_size (4 * sizeof (float)))) V4;
7 
8 struct Rot3 {
9   typedef float T;
10   typedef V4 Vec;
11   Vec axis[3];
Rot3Rot312   constexpr Rot3 (V4 ix, V4 iy, V4 iz) : axis {ix, iy, iz} {}
13 
Rot3Rot314   constexpr Rot3(T xx, T xy, T xz, T yx, T yy, T yz, T zx, T zy, T zz) :
15     Rot3((Vec) { xx, xy, xz, 0 },
16 	 (Vec) { yx, yy, yz, 0 },
17 	 (Vec) { zx, zy, zz, 0 }) {}
18 
19 };
20 
21 constexpr Rot3 r1( 0, 1 ,0, 0, 0, 1,  1, 0, 0);
22