Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic91.C
blobd78b791fbf46efcedd3a6b243ad99d3e4da5c0e4
1 // { dg-options "-std=c++0x" }
2 template<int N> struct Int2Type { };
4 template<typename... T>
5 struct Outer {
6   template<typename... U>
7   void foo(Int2Type<sizeof...(T)>, Int2Type<sizeof...(U)>);
8 };
11 Outer<short, int, long> outer;
13 void g4() {
14   outer.foo<float, double>(Int2Type<3>(), Int2Type<2>());
17 template<typename... T, template<T...> class X> void f1();