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
ee0cff60
Commit
ee0cff60
authored
Mar 26, 2014
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/torture/pr60315.C: Remove duplication.
From-SVN: r208839
parent
c7e30a96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
17 deletions
+5
-17
gcc/testsuite/ChangeLog
+5
-1
gcc/testsuite/g++.dg/torture/pr60315.C
+0
-16
No files found.
gcc/testsuite/ChangeLog
View file @
ee0cff60
2014-03-26 Andreas Schwab <schwab@suse.de>
* g++.dg/torture/pr60315.C: Remove duplication.
2014-03-26 Eric Botcazou <ebotcazou@adacore.com>
* gcc.c-torture/execute/20140326-1.c: New test.
...
...
@@ -5,7 +9,7 @@
2014-03-25 Jan Hubicka <hubicka@ucw.cz>
PR ipa/60315
*
testsuite/
g++.dg/torture/pr60315.C: New testcase.
* g++.dg/torture/pr60315.C: New testcase.
2014-03-25 Martin Jambor <mjambor@suse.cz>
...
...
gcc/testsuite/g++.dg/torture/pr60315.C
View file @
ee0cff60
...
...
@@ -14,19 +14,3 @@ extern Base* b;
int
main
()
{
return
(
static_cast
<
Derived
*>
(
b
)
->*
(
&
Derived
::
f
))();
}
// { dg-do compile }
struct
Base
{
virtual
int
f
()
=
0
;
};
struct
Derived
:
public
Base
{
virtual
int
f
()
final
override
{
return
42
;
}
};
extern
Base
*
b
;
int
main
()
{
return
(
static_cast
<
Derived
*>
(
b
)
->*
(
&
Derived
::
f
))();
}
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