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++, coroutines: Simplify separation of the user function body and ramp.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
auto-fn63.C
blob
ca3bc854065ca4ed604b232c546bf7b849ed402d
1
// PR c++/105779
2
// { dg-do compile { target c++14 } }
3
4
template<int>
5
struct struct1
6
{
7
static auto apply() { return 1; }
8
};
9
10
int method(int(*f)());
11
12
int t = method(struct1<1>::apply);