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++: constantness of call to function pointer [PR111703]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
pr57942.C
blob
580e9ecd2427a73263dca663294f49f8f44ef26f
1
// PR c++/57942
2
3
template<typename T> struct S { typename T::error type; };
4
struct X {};
5
void f(S<int>*);
6
void f(...);
7
void g() { f((X*)0); }
8
struct Y;
9
void h() { f((Y*)0); }