blob: 27a6afa4ed97e64abf1aafd33eb67e5d4a8a3dfd [file] [log] [blame]
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template <class...> class tuple {};
tuple<int> t;
tuple<auto> y = t;
tuple<int,double> t2;
tuple<auto...> x = t2;
tuple<auto...> x2 = t;
tuple<auto> y2 = t2; // { dg-error "" }