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: M2MetaError.{def,mod} and P2SymBuild.mod further cleanup
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
syntax2.C
blob
159f28f89c76d31052bdc74ff95e301444767c77
1
// { dg-do assemble }
2
// { dg-options "-fsyntax-only" }
3
// Origin: Mark Mitchell <mark@codesourcery.com>
4
5
struct B
6
{
7
double d;
8
9
virtual void f ();
10
};
11
12
struct C: virtual public B
13
{
14
char c;
15
};
16
17
struct D: virtual public B
18
{
19
int i;
20
virtual void f ();
21
};
22
23
struct E : public C, public D
24
{
25
};
26
27
E e;
28