☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction46.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction46.C
code
plain
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 "" }