blob: dfc245d1621cd4bde8665ce0fd002af4f021471f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// PR c++/57471
// { dg-require-effective-target c++11 }
struct A
{
static constexpr bool value = true;
};
template<typename... Types>
struct B
{
static_assert(A::value, "");
static_assert(sizeof...(Types) == 0, "");
};
|