Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
vt-55323.C
blob: e360a99be2d31002944c3ff02f2a2c799799b2ee [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
foo
{
foo
(
int
a
,
float
b
);
};
struct
bar
:
foo
{
template
<
typename
...
Args
>
bar
(
Args
&&...
args
)
:
foo
(
2
,
args
){}
// { dg-error "parameter packs" }
};
bar b
(
2
,
1.
);