aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/class-deduction-alias9.C
blob: 5cc7b7c1a801e9f3b9bfe0c1f3fa5ab291599495 (plain)
1
2
3
4
5
6
// PR c++/98832
// { dg-do compile { target c++20 } }

template<class T, class U> struct X { U u; };
template<class T> using Y = X<int, T>;
Y y{0};