Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr31438.C
blob: 272f4022d15e02f396f4b09ffb9ab6d7433bb437 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<typename>
struct
A
;
template
<
typename
T
,
typename
...
U
>
struct
A
<
T
(
U
)>
// { dg-error "parameter packs|U" }
{
template
<
typename
X
>
A
(
X
);
};
A
<
void
(
int
)>
a
(
0
);
// { dg-error "incomplete type" }