Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr78649.C
blob: 43bcb64f13536ffc4cbda06a27dbee9f3fbcc97a [
file
] [
log
] [
blame
]
// PR c++/78649
// { dg-do compile { target c++11 } }
template
<class>
void
foo
();
template
<
class
T
,
class
...
U
>
void
test
()
{
T t
(
foo
<
U
>...);
// { dg-error "declared void" }
}
int
main
()
{
test
<void>
();
}