PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr59641.C
blob36af96a892d0ae096d64e99dfa0f8d9a35b91f21
1 // { dg-do compile { target c++11 } }
2 typedef int T __attribute__((vector_size(2*sizeof(int))));
4 void foo(T& r, const T& a, const T& b)
6   constexpr T c = a < b; // { dg-error "constant" }
7   r = c ? a : b;