Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
vt-35024.C
blob: c20501f923c4067aa458093c386ddb57f1ea7a7f [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
typename
...
T
>
int
foo
()
{
typename
T
::
X x
;
// { dg-error "parameter packs|T" }
return
x
;
}
void
bar
()
{
foo
<int>
();
}