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