1 // If the entity is a template parameter object for a template parameter of
2 // type T, the type of the expression is const T.
4 // { dg-do compile { target c++20 } }
6 template <class T, class U> struct same;
7 template <class T> struct same<T,T> {};
11 // auto operator<=> (const A&) = default;
16 template < A a > struct B
21 same<A,decltype(a)> s;
22 same<const A&,decltype((a))> s2;