PR c++/84424 - ICE with constexpr and __builtin_shuffle.
[official-gcc.git] / gcc / testsuite / g++.dg / ext / vector34.C
blob5cca53070b276dac4945ce47dc7707d169c7f857
1 // PR c++/84424
2 // { dg-do compile { target c++11 } }
3 // { dg-options "" }
5 typedef int vec __attribute__ ((vector_size (2 * sizeof (int))));
7 constexpr vec u = { 1, 2 };
8 constexpr vec v = __builtin_shuffle (v, u); // { dg-error "" }