ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git] / gcc / testsuite / g++.dg / template / mem_func_ptr2.C
blob9ceabd3642bc98e9aa0019dcf75fef9bef712fd2
1 // PR c++/85356
3 struct A
5   A& operator=(int);
6 };
8 void foo(A&(A::*)(int));
10 template<int> void bar()
12   foo(&A::operator=);