☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
class-deduction-alias10.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/class-deduction-alias10.C
code
plain
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});