repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
mem_func_ptr2.C
blob
9ceabd3642bc98e9aa0019dcf75fef9bef712fd2
1
// PR c++/85356
2
3
struct A
4
{
5
A& operator=(int);
6
};
7
8
void foo(A&(A::*)(int));
9
10
template<int> void bar()
11
{
12
foo(&A::operator=);
13
}