Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-sizeof2.C
blob: dfc245d1621cd4bde8665ce0fd002af4f021471f [
file
] [
log
] [
blame
]
// 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
,
""
);
};