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
6aede567
Commit
6aede567
authored
Feb 27, 2000
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
From-SVN: r32214
parent
1ab83276
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gcc/testsuite/g++.old-deja/g++.mike/net34.C
+2
-2
gcc/testsuite/g++.old-deja/g++.mike/p4623.C
+1
-1
No files found.
gcc/testsuite/g++.old-deja/g++.mike/net34.C
View file @
6aede567
...
...
@@ -23,8 +23,8 @@ class multiple : public bar_1, public bar_2 {
public
:
multiple
(
int
i1
,
int
i2
)
:
bar_1
(
i1
),
bar_2
(
i2
)
{}
void
print
()
{
cout
<<
"bar_1::k -> "
<<
bar_1
::
k
<<
"
\n
"
;
cout
<<
"bar_2::k -> "
<<
bar_2
::
k
<<
"
\n
"
;
cout
<<
"bar_1::k -> "
<<
((
bar_1
*
)
this
)
->
k
<<
"
\n
"
;
cout
<<
"bar_2::k -> "
<<
((
bar_2
*
)
this
)
->
k
<<
"
\n
"
;
cout
<<
"bar_1::get_k() -> "
<<
bar_1
::
get_k
()
<<
"
\n
"
;
cout
<<
"bar_2::get_k() -> "
<<
bar_2
::
get_k
()
<<
"
\n
"
;
}
...
...
gcc/testsuite/g++.old-deja/g++.mike/p4623.C
View file @
6aede567
...
...
@@ -26,7 +26,7 @@ class base3: public base {};
class
derived
:
public
base3
,
public
base1
,
public
base2
{
public
:
int
d_data
;
derived
(
int
i
)
{
d_data
=
i
;
base3
::
b_data
++
;
}
derived
(
int
i
)
{
d_data
=
i
;
((
base3
*
)
this
)
->
b_data
++
;
}
void
d_print
()
{
}
};
...
...
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