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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload10.C
blob
19dd174a0196f92f773f10b8664b0e4b5091f8ff
1
struct B {
2
int f(int) { return 1; }
3
};
4
5
struct D {
6
template <class T>
7
int f(T) { return 0; }
8
};
9
10
int main()
11
{
12
int (D::*g)(int) = &D::f;
13
14
D d;
15
return (d.*g)(0);
16
}