Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-sizeof1.C
blob: 2837c856b10a2129ed2da19dc37664bb003d2086 [
file
] [
log
] [
blame
]
// PR c++/56679
// { dg-require-effective-target c++11 }
template
<
template
<typename>
class
...
Args
>
struct
Foo
{
static
const
int
value
=
sizeof
...(
Args
);
};
template
<typename>
struct
Bar
{
};
const
int
test
=
Foo
<
Bar
>::
value
;