aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/class-deduction-alias10.C
blob: a473fff5dc75983956ebb563d236de39eb4ab86a (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/101233
// { dg-do compile { target c++20 } }

template<class T, class U>
struct A { A(T, U); };

template<class T, class U>
using B = A<U, T>;

using type = decltype(B{0, 0});