Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/variadic139.C

raw
1 // Origin: PR c++/53609
2 // { dg-do compile { target c++11 } }
3
4 template<class...I> struct List {};
5 template<int T> struct Z {static const int value = T;};
6 template<int...T> using LZ = List<Z<T>...>;
7
8 template<class...U>
9 struct F
10 {
11 using N = LZ<U::value...>;
12 };
13
14 F<Z<1>, Z<2> >::N A;