]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/variadic177.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic177.C
CommitLineData
8797dd71
MP
1// PR c++/71548
2// { dg-do compile { target c++11 } }
3
4template<typename> class fl {};
5template<typename = void, template<class...> class = fl>
6struct S {};
7template<typename... T>
8void f(S<T...> ) {}
9void lol() {
10 S<> s;
11 f(s); // { dg-error "no matching function for call to" }
12}
This page took 0.609543 seconds and 5 git commands to generate.