summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic177.C
blob: 96736a0ac0abd834ed435c6d10f0228b87cd80a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/71548
// { dg-do compile { target c++11 } }

template<typename> class fl {};
template<typename = void, template<class...> class = fl>
struct S {};
template<typename... T>
void f(S<T...> ) {}
void lol() {
    S<> s;
    f(s); // { dg-error "no matching function for call to" }
}