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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
virtual3.C
blob
c34f508f373e43284f66f1b2553f940c89c72b73
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
struct S
5
{
6
int i;
7
};
8
9
template <typename T>
10
struct X : virtual public T, virtual public S
11
{
12
int i;
13
14
X () : i (3) {}
15
};