Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr31443.C
blob: 3169312fc3a908452b5a969d2f9d5deb0a0f31b8 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
int
,
typename
...
T
>
struct
A
{
template
<
int
N
>
void
foo
(
A
<
N
,
T
>);
// { dg-error "parameter packs|T" }
};
void
bar
()
{
A
<
0
,
int
>().
foo
(
A
<
0
,
int
>());
// { dg-error "no member named" }
}