aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction111.C
blob: 2406529ea5aee2af44e20a8557af9100de8fffba (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/105982
// { dg-do compile { target c++17 } }

template<class T>
struct A {
  struct B { struct C { }; };
  A(T, typename B::C);
};

A a(0, {});