aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction71.C
blob: 2fc71de8d95bc675ab645736d2be90e6cedff042 (plain)
1
2
3
4
5
6
// PR c++/93248
// { dg-do compile { target c++17 } }

template <typename T> struct S
{ template <typename V> S (T, V, long = 0); };
using U = decltype(S{0, 4u});