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