2 // { dg-do compile { target c++20 } }
4 template <auto _DescriptorFn> struct c1 {};
6 template <class _Descriptor, auto t = [] { return _Descriptor(); }>
7 inline constexpr auto b_v = t;
10 using c1_t = c1<b_v<int>>;
12 template <class _Data>
13 constexpr auto g(_Data __data) {