Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/class-deduction46.C

raw
1 // PR c++/80449
2 // { dg-do compile { target c++17 } }
3
4 template<class S> struct C;
5 template<> struct C<int> { C(int, int) {} };
6 auto k = C{0, 0}; // { dg-error "" }