Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-mem_fn2.C
blob: 4a02ab22990b843a78f5494b22bd8983d6442af6 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
class
A0
,
class
...
As
>
struct
tuple
{
tuple
<
As
...>
tail
;
template
<
int
Offset
,
class
...
More
>
int
apply
(
const
More
&...
more
)
{
return
tail
.
apply
<
1
>(
more
...);
// { dg-error "" } needs .template
}
};