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
1c442892
Commit
1c442892
authored
Mar 05, 2003
by
Mark Mitchell
Committed by
Mark Mitchell
Mar 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/abi/layout3.C: New test.
From-SVN: r63856
parent
0530d3b0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/abi/layout3.C
+26
-0
No files found.
gcc/testsuite/ChangeLog
View file @
1c442892
2003-03-05 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/layout3.C: New test.
2003-03-05 Eric Botcazou <ebotcazou@libertysurf.fr>
2003-03-05 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20030305-1.c
* gcc.c-torture/compile/20030305-1.c
...
...
gcc/testsuite/g++.dg/abi/layout3.C
0 → 100644
View file @
1c442892
// { dg-do run { target i?86-*-* } }
// { dg-options "-fabi-version=0 -w" }
struct
S
{
virtual
void
f
()
{}
};
struct
T
:
virtual
public
S
{
};
struct
U
:
public
S
,
virtual
public
T
{
char
c
[
100
];
};
struct
V
:
public
U
,
virtual
public
S
{};
struct
W
:
public
V
{
int
i
;
};
int
main
()
{
W
w
;
if
((
char
*
)
&
w
.
i
-
(
char
*
)
&
w
!=
104
)
return
1
;
}
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