1 // { dg-do compile { target c++11 } } 2 typedef int T __attribute__((vector_size(2*sizeof(int)))); 3 foo(T & r,const T & a,const T & b)4 void foo(T& r, const T& a, const T& b) 5 { 6 constexpr T c = a < b; // { dg-error "constant" } 7 r = c ? a : b; 8 } 9