summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic-nested2.C
blob: ce18f99ea50b26279a05ea8406d9e75ea379d826 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/84839
// { dg-do compile { target c++11 } }

template<typename... T>
struct S {
    using fptr = void(*)(T... x, decltype(x)... y);
};

using F = S<int>::fptr;