2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-sizeof1.C
blob2837c856b10a2129ed2da19dc37664bb003d2086
1 // PR c++/56679
2 // { dg-require-effective-target c++11 }
4 template <template <typename> class... Args>
5 struct Foo {
6   static const int value = sizeof...(Args);
7 };
9 template <typename> struct Bar { };
11 const int test = Foo<Bar>::value;