Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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>
();
}