Debian Codegraph @

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

raw
1 // PR c++/99803
2 // { dg-do compile { target c++20 } }
3
4 struct A { template<typename T> A(T); };
5 auto A(unsigned) -> A::template A<int>; // { dg-error "not a type" }