PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-sizeof2.C
blobdfc245d1621cd4bde8665ce0fd002af4f021471f
1 // PR c++/57471
2 // { dg-require-effective-target c++11 }
4 struct A
6   static constexpr bool value = true;
7 };
9 template<typename... Types>
10 struct B
12   static_assert(A::value, "");
13   static_assert(sizeof...(Types) == 0, "");