Revert "[PATCH 7/7] RISC-V: Disable by pieces for vector setmem length > UNITS_PER_WORD"
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / auto3.C
blob5c91cc08f2e38b564b69fc01210009c25fdd330d
1 // { dg-do compile { target c++17 } }
2 // { dg-options "-fconcepts" }
4 template <class...> class tuple {};
6 tuple<int> t;
7 tuple<auto> y = t;              // { dg-error "invalid|cannot convert" }
9 tuple<int,double> t2;
10 tuple<auto...> x = t2;          // { dg-error "invalid|cannot convert" }
11 tuple<auto...> x2 = t;          // { dg-error "invalid|cannot convert" }
13 tuple<auto> y2 = t2;            // { dg-error "invalid|cannot convert" }