repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
disamb1.C
blob
638eb2fcdca9d0e5a7ce50d4f13b244f2e876fa5
1
// PR c++/525
2
// Bug: With -pedantic, we weren't converting this to B1* for the call.
3
4
struct A
5
{
6
void f();
7
};
8
9
struct B1: public A {};
10
struct B2: public A {};
11
12
struct C: public B1, public B2
13
{
14
void g() { B1::f(); };
15
};