| 1 |
// DR 2446 |
| 2 |
// { dg-do compile { target c++20 } } |
| 3 |
|
| 4 |
template <typename T> concept C = true; |
| 5 |
template <typename T> struct A; |
| 6 |
template <> struct A<bool> { using type = bool; }; |
| 7 |
|
| 8 |
template <typename T> |
| 9 |
void f(A<decltype(C<T>)>::type); // OK, no 'typename' needed |