Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/class-deduction-alias10.C

raw
1 // PR c++/101233
2 // { dg-do compile { target c++20 } }
3
4 template<class T, class U>
5 struct A { A(T, U); };
6
7 template<class T, class U>
8 using B = A<U, T>;
9
10 using type = decltype(B{0, 0});