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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload10.C
blob
cdb0d3e22ff5c9606925edd85b4ca1358d50357d
1
// { dg-do run }
2
struct B {
3
int f(int) { return 1; }
4
};
5
6
struct D {
7
template <class T>
8
int f(T) { return 0; }
9
};
10
11
int main()
12
{
13
int (D::*g)(int) = &D::f;
14
15
D d;
16
return (d.*g)(0);
17
}