PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / intro7.C
blob9cb4a76740b5918f497b2876a2038b767224fc44
1 // PR c++/66985
2 // { dg-options "-std=c++17 -fconcepts" }
4 template <template <class> class T>
5 concept bool _Valid = requires { typename T<int>; };
7 template <template <class> class T>
8 struct __defer { };
10 _Valid{T}
11 struct __defer<T> {
12   using type = T<int>;