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