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
Fix PR c++/69139 (deduction failure with trailing return type)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto35.C
blob
55eebbeffedce1ab6ba2532c5dda67dfe9003bf8
1
// PR c++/53122
2
// { dg-do compile { target c++11 } }
3
4
template<typename... Args>
5
void foo(Args&&...) { }
6
7
template<typename... Args>
8
void bar(Args&&...)
9
{
10
auto fn = foo<Args...>;
11
}