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-fn60.C
blob
575abafbae5143afab4957192a641c799b092a8d
1
// PR c++/64194
2
// { dg-do compile { target c++14 } }
3
4
template <typename T> void g(void (*)(T)) { }
5
6
template <typename> auto id(int) { }
7
template <typename> auto id(char) { return 0; }
8
9
int main() {
10
g(id<int>);
11
}