* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-53094-3.C
blob58c00ed4ac7a26ffac0f8cf6286908aabfc679d2
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" }
6 typedef float __attribute__ ((vector_size (4 * sizeof (float)))) V4;
8 struct Rot3 {
9   typedef float T;
10   typedef V4 Vec;
11   Vec axis[3];
12   constexpr Rot3 (V4 ix, V4 iy, V4 iz) : axis {ix, iy, iz} {}
14   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 }) {}
21 constexpr Rot3 r1( 0, 1 ,0, 0, 0, 1,  1, 0, 0);