summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic52.C
blob: 12b121fe4ec9bd80b02573e0a7d7b781e371cc9e (plain)
1
2
3
4
5
6
7
// { dg-options "-std=gnu++0x" }
template<typename T, T... Values>
struct vector_c { };

vector_c<int, 1, 2, 3> v1;
vector_c<char, 'a', 'b', 'c'> v2;
vector_c<long, 1u, 2, 3l> v3;