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
Initial revision
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p4484.C
1
// Build don't link:
2
// prms-id: 4484
3
4
class A {
5
char buf[64];
6
};
7
8
typedef void (A::*pmf)();
9
typedef void (A::*pmfc)() const;
10
11
pmfc p = (pmfc)(pmf)0;
12
13
class B {
14
};
15
16
class D : public A, public B {
17
};
18
19
typedef int (B::*bmfp)();
20
typedef int (D::*dmfp)();
21
22
bmfp foo;
23
24
void bar(dmfp a) {
25
bar(foo);
26
}