Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/variadic-partial2.C

raw
1 // PR c++/102547
2 // { dg-do compile { target c++11 } }
3
4 template<int... Vs>
5 struct vals { };
6
7 template<class V, class T>
8 struct vals_client { };
9
10 template<int V0, int V1, class T>
11 struct vals_client<vals<V0, V1>, T> { };
12
13 template<int V0, int V1>
14 struct vals_client<vals<V0, V1>, void> { };
15
16 template struct vals_client<vals<1, 2>, void>; //- "sorry, unimplemented..., ICE"