repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr78649.C
blob
43bcb64f13536ffc4cbda06a27dbee9f3fbcc97a
1
// PR c++/78649
2
// { dg-do compile { target c++11 } }
3
4
template <class> void foo ();
5
template <class T, class... U>
6
void
7
test ()
8
{
9
T t (foo<U>...); // { dg-error "declared void" }
10
}
11
12
int
13
main ()
14
{
15
test<void> ();
16
}