Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;