Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
vt-34103.C
blob: bb2f829224937d58b481538646b7b8b1da23d149 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// PR c++/34103
template
<typename>
struct
A
{};
template
<
typename
...
T
>
void
foo
(
A
<
T
>,
A
<
T
>);
// { dg-error "parameter packs|T" }
template
<
typename
...
T
>
void
foo
(
A
<
T
>,
A
<
T
>)
{}
// { dg-error "parameter packs|T" }