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
0d4ba75b
Commit
0d4ba75b
authored
Jun 02, 1998
by
Robert Lipe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More patches from Martin.
From-SVN: r20190
parent
7e2fbe93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/testsuite/g++.old-deja/g++.robertl/eb4.C
+4
-4
No files found.
gcc/testsuite/g++.old-deja/g++.robertl/eb4.C
View file @
0d4ba75b
...
@@ -29,7 +29,7 @@ public:
...
@@ -29,7 +29,7 @@ public:
float
f
;
float
f
;
};
};
class
some_derived
::
func
(
derived_func_args
&
a
)
class
some_derived
::
func
(
derived_func_args
&
a
)
// ERROR - illegal member syntax
{
{
cout
<<
a
.
i
<<
' '
<<
a
.
f
<<
endl
;
cout
<<
a
.
i
<<
' '
<<
a
.
f
<<
endl
;
}
}
...
@@ -37,12 +37,12 @@ class some_derived::func(derived_func_args &a)
...
@@ -37,12 +37,12 @@ class some_derived::func(derived_func_args &a)
int
int
main
()
main
()
{
{
some_derived
d
;
some_derived
d
;
// ERROR - abstract class
some_derived
::
derived_func_args
dfa
;
some_derived
::
derived_func_args
dfa
;
// ERROR - incomplete class
some_base
*
b
=
&
d
;
some_base
*
b
=
&
d
;
dfa
.
i
=
10
;
dfa
.
i
=
10
;
dfa
.
f
=
20
;
dfa
.
f
=
20
;
b
->
func
(
dfs
);
b
->
func
(
dfs
);
// ERROR - dfs not declared
return
0
;
return
0
;
}
}
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