aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic-sizeof1.C
blob: 2837c856b10a2129ed2da19dc37664bb003d2086 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/56679
// { dg-require-effective-target c++11 }

template <template <typename> class... Args>
struct Foo {
  static const int value = sizeof...(Args);
};

template <typename> struct Bar { };

const int test = Foo<Bar>::value;