Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
c16bd4e2
Commit
c16bd4e2
authored
Jun 08, 2001
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
duplicate
From-SVN: r43036
parent
a245756a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
+0
-27
gcc/testsuite/g++.old-deja/g++.abi/vtable4.C
+0
-27
No files found.
gcc/testsuite/g++.old-deja/g++.abi/vtable4.C
deleted
100644 → 0
View file @
a245756a
// Test for proper handling of extreme virtual inheritance.
// Previously we failed to recognise that in the constructor vtable
// for B_skel in C_skel, A_base was still primary to B_base, even though
// not to B_skel.
// From PR c++/3061.
struct
A_base
{
virtual
void
foo
()
{
}
};
class
A_skel
:
virtual
public
A_base
{
};
class
B_base
:
virtual
public
A_base
{
};
class
B_skel
:
virtual
public
B_base
,
virtual
public
A_skel
{
};
class
C_base
:
virtual
public
B_base
{
};
class
C_skel
:
virtual
public
C_base
,
virtual
public
B_skel
{
};
class
D_base
:
virtual
public
C_base
{
};
class
D_skel
:
virtual
public
D_base
,
virtual
public
C_skel
{
};
class
D_impl
:
virtual
public
D_skel
{
};
int
main
()
{
D_impl
i
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment