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
bcdaabbb
Commit
bcdaabbb
authored
Mar 01, 2000
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no -pedantic
From-SVN: r32279
parent
9ab476b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
gcc/testsuite/g++.old-deja/g++.mike/net34.C
+4
-2
No files found.
gcc/testsuite/g++.old-deja/g++.mike/net34.C
View file @
bcdaabbb
// Special g++ Options:
#include <iostream.h>
#include <iostream.h>
class
foo
{
class
foo
{
...
@@ -23,8 +25,8 @@ class multiple : public bar_1, public bar_2 {
...
@@ -23,8 +25,8 @@ class multiple : public bar_1, public bar_2 {
public
:
public
:
multiple
(
int
i1
,
int
i2
)
:
bar_1
(
i1
),
bar_2
(
i2
)
{}
multiple
(
int
i1
,
int
i2
)
:
bar_1
(
i1
),
bar_2
(
i2
)
{}
void
print
()
{
void
print
()
{
cout
<<
"bar_1::k -> "
<<
((
bar_1
*
)
this
)
->
k
<<
"
\n
"
;
cout
<<
"bar_1::k -> "
<<
bar_1
::
k
<<
"
\n
"
;
cout
<<
"bar_2::k -> "
<<
((
bar_2
*
)
this
)
->
k
<<
"
\n
"
;
cout
<<
"bar_2::k -> "
<<
bar_2
::
k
<<
"
\n
"
;
cout
<<
"bar_1::get_k() -> "
<<
bar_1
::
get_k
()
<<
"
\n
"
;
cout
<<
"bar_1::get_k() -> "
<<
bar_1
::
get_k
()
<<
"
\n
"
;
cout
<<
"bar_2::get_k() -> "
<<
bar_2
::
get_k
()
<<
"
\n
"
;
cout
<<
"bar_2::get_k() -> "
<<
bar_2
::
get_k
()
<<
"
\n
"
;
}
}
...
...
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