blob: 343fe7a9824a1a5c127de5b32769a6a9ebec17b4 [file] [log] [blame]
// PR c++/66985
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template <template <class> class T>
concept bool Valid = requires { typename T<int>; };
template <template <class> class T>
struct __defer { };
Valid{T}
struct __defer<T> {
using type = T<int>;
};