2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / class-deduction46.C
blob513e16057af76b22484747246b305d9cfe871c94
1 // PR c++/80449
2 // { dg-do compile { target c++17 } }
4 template<class S> struct C;
5 template<> struct C<int> { C(int, int) {} };
6 auto k = C{0, 0};  // { dg-error "cannot deduce" }