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
b661835c
Commit
b661835c
authored
Jan 18, 1999
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
From-SVN: r24751
parent
e6f62286
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
gcc/testsuite/g++.old-deja/g++.jason/overload20.C
+2
-2
gcc/testsuite/g++.old-deja/g++.mike/p10769a.C
+1
-1
gcc/testsuite/g++.old-deja/g++.mike/pmf3.C
+3
-3
gcc/testsuite/g++.old-deja/g++.pt/overload5.C
+1
-1
No files found.
gcc/testsuite/g++.old-deja/g++.jason/overload20.C
View file @
b661835c
...
...
@@ -3,8 +3,8 @@
void
f
(
char
*
);
void
f
(
int
);
struct
A
{
void
f
();
void
f
(
int
);
void
f
();
// ERROR - candidate
void
f
(
int
);
// ERROR - candidate
void
g
()
{
void
(
*
p
)(
char
*
)
=
f
;
// ERROR - no matching function in scope
}
...
...
gcc/testsuite/g++.old-deja/g++.mike/p10769a.C
View file @
b661835c
...
...
@@ -9,7 +9,7 @@ class A {
public
:
void
f1a
()
{
ok
+=
3
;
}
void
f1b
()
{
ok
+=
5
;
}
void
f2a
()
{
ok
+=
7
;
}
void
f2a
()
{
ok
+=
7
;
}
// gets bogus error XFAIL *-*-*
void
f2b
()
{
}
const
static
void
(
*
table
[
2
][
2
])();
void
main
();
...
...
gcc/testsuite/g++.old-deja/g++.mike/pmf3.C
View file @
b661835c
...
...
@@ -5,9 +5,9 @@ struct Fooey {
void
h
(
double
dx
);
};
void
Fooey
::
f
(
char
*
)
{
}
void
Fooey
::
f
(
int
)
{
}
void
Fooey
::
f
(
float
)
{
}
void
Fooey
::
f
(
char
*
)
{
}
// ERROR - candidate
void
Fooey
::
f
(
int
)
{
}
// ERROR - candidate
void
Fooey
::
f
(
float
)
{
}
// ERROR - candidate
void
Fooey
::
h
(
double
zahl
)
{
}
int
main
()
{
...
...
gcc/testsuite/g++.old-deja/g++.pt/overload5.C
View file @
b661835c
// Build don't link:
template
<
class
T
>
void
foo
();
template
<
class
T
>
void
foo
();
// ERROR - candidate
void
(
*
bar
)()
=
foo
<
void
>
;
void
(
*
baz
)()
=
foo
;
// ERROR - can't deduce T
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