Debian Codegraph @

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

raw
1 // PR c++/56679
2 // { dg-require-effective-target c++11 }
3
4 template <template <typename> class... Args>
5 struct Foo {
6 static const int value = sizeof...(Args);
7 };
8
9 template <typename> struct Bar { };
10
11 const int test = Foo<Bar>::value;