OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* decl.c (compute_array_index_type): Don't try to do anything with
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload10.C
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
}