// { dg-do compile { target c++11 } } // { dg-options "-Wno-psabi -w" } template struct shufflevector { static auto shuffle (T1 a, T2 b) -> decltype (__builtin_shufflevector (a, b, args...)) { return __builtin_shufflevector (a, b, args...); } }; typedef int v4si __attribute__((vector_size (16))); v4si a, b, c; int main() { c = shufflevector::shuffle (a, b); }