repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic172.C
blob
d25d3029a9d7b8de963ed216f8c89c3798da445e
1
// PR c++/84454
2
// { dg-do compile { target c++11 } }
3
4
template<class F, class... A>
5
void
6
g(F&&, A&&...)
7
{}
8
9
template<class... A>
10
auto
11
h(A&&... a) -> decltype(g(0, g<decltype(a)>(a)...))
12
{
13
g(a...); // { dg-error "no match" }
14
}
15
16
int
17
main()
18
{
19
h();
20
}