Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/pr89913.C

raw
1 // { dg-do compile { target c++20 } }
2
3 template<typename...> using A = auto; // { dg-error "not allowed" }
4 // In pre-20, the error is "invalid use of auto"
5
6 template<typename... T> using B = A<T...>;