Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr31445.C
blob: b4542818237991ab54c33f615b72d1b309aa2a66 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
typename
...
T
>
struct
A
{
void
foo
(
T
...);
A
(
T
...
t
)
{
foo
(
t
);
}
// { dg-error "18:parameter packs|t" }
};
A
<int>
a
(
0
);