aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic-explicit1.C
blob: 605c55beaa07d90ca559b13e9c7da88dddf65405 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile { target c++11 } }

template<class T, class U> struct A { };
template<class... T, class ... U> void f( A<T,U>... p);

void g() {
    f<int>(
        A<int,unsigned>(),
        A<short,unsigned short>()
        );
}