PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / template-parm11.C
blob352acc2271d9140e744f3b8a2853f0c2faf38b9f
1 // { dg-options "-std=c++17 -fconcepts" }
3 template<typename T>
4 concept bool NameProvider()
6   return requires(){
7     typename T::_name_t::template _member_t<int>;
8   };
11 template<NameProvider... ColSpec>
12 void getTable(const ColSpec&...)
15 void f()
17   getTable(7, 'a'); // { dg-error "cannot call" }