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

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

A a (42, 1.0);