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
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr77655.C
blob
8b4ffa66ea608d726a500c9ac8049986fad0ca3e
1
// PR c++/77655
2
// { dg-do compile { target c++11 } }
3
4
template <class F> void g(F);
5
template <class... A>
6
auto h(A &&... a) -> decltype(g(0, g<decltype(a)>(a)...)) { // { dg-error "" }
7
h([] {}); // { dg-error "no matching" }
8
}
9
10
int main() {
11
h();
12
return 0;
13
}