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