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
c++: deduction from auto fn [PR105623]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
auto-fn62.C
blob
9c2bff1ccf3f0bd297254e6751a20814c92ed1e9
1
// PR c++/105623
2
// { dg-do compile { target c++14 } }
3
4
template <class T>
5
auto g(T fn) { }
6
7
template<typename>
8
struct base {
9
static auto value() { }
10
};
11
12
struct S : base<void> {
13
static void f() { g(value); }
14
};