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

template<class S> struct C;
template<> struct C<int> { C(int, int) {} };
auto k = C{0, 0};  // { dg-error "" }