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
modula2: Export all string to integral and fp number conversion functions
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
virtual1.C
blob
ed597e2a3d7ff69ce39a481155963211932404bd
1
// PR c++/27952
2
3
struct A
4
{
5
virtual ~A() {}
6
};
7
8
struct B : A, virtual A {}; // { dg-error "duplicate base" }
9
10
struct C : A, B {}; // { dg-message "direct base 'A' inaccessible" }
11
12
C c;