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
658311e0
Commit
658311e0
authored
Feb 13, 2002
by
Richard Smith
Committed by
Mark Mitchell
Feb 13, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.old-deja/g++.other/thunk1.C: New test.
From-SVN: r49743
parent
8dba028f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.old-deja/g++.other/thunk1.C
+35
-0
No files found.
gcc/testsuite/ChangeLog
View file @
658311e0
2002-02-13 Richard Smith <richard@ex-parrot.com>
* g++.old-deja/g++.other/thunk1.C: New test.
2002-02-12 David Billinghurst <David.Billinghurst@riotinto.com>
* g++.dg/warn/weak1.C: weak attributes not supported on cygwin
...
...
gcc/testsuite/g++.old-deja/g++.other/thunk1.C
0 → 100644
View file @
658311e0
extern
"C"
void
abort
();
int
ic
;
struct
X
{
X
()
{
++
ic
;
}
X
(
const
X
&
)
{
++
ic
;
}
~
X
()
{
if
(
--
ic
<
0
)
abort
();
}
};
struct
V
{
virtual
~
V
()
{}
};
struct
A
:
public
virtual
V
{
};
struct
B
:
public
virtual
V
{
virtual
void
foo
(
X
)
=
0
;
};
struct
D
:
public
A
,
public
virtual
B
{
virtual
void
foo
(
X
)
{}
};
int
main
()
{
B
*
b
=
new
D
;
b
->
foo
(
X
()
);
}
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