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
6c9ef6d4
Commit
6c9ef6d4
authored
May 07, 1999
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
From-SVN: r26816
parent
a359be75
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
1 deletions
+45
-1
gcc/testsuite/g++.old-deja/g++.ext/addrfunc2.C
+16
-0
gcc/testsuite/g++.old-deja/g++.ext/addrfunc3.C
+13
-0
gcc/testsuite/g++.old-deja/g++.mike/net36.C
+1
-1
gcc/testsuite/g++.old-deja/g++.other/defarg2.C
+15
-0
No files found.
gcc/testsuite/g++.old-deja/g++.ext/addrfunc2.C
0 → 100644
View file @
6c9ef6d4
// Test for implicit & on methods.
// Contributed by Jason Merrill <jason@cygnus.com>.
// Special g++ Options: -fpermissive -w
struct
A
{
void
f
(
int
=
0
)
{
}
};
int
main
()
{
void
(
A
::*
p
)(
int
)
=
0
;
p
=
A
::
f
;
if
(
p
!=
A
::
f
)
return
1
;
}
gcc/testsuite/g++.old-deja/g++.ext/addrfunc3.C
0 → 100644
View file @
6c9ef6d4
// Test for overload resolution in comparison expressions.
// Contributed by Jason Merrill <jason@cygnus.com>.
// Special g++ Options: -fpermissive -w
void
f
(
int
)
{
}
void
f
();
int
main
()
{
void
(
*
p
)(
int
);
p
=
f
;
if
(
p
!=
f
)
return
1
;
}
gcc/testsuite/g++.old-deja/g++.mike/net36.C
View file @
6c9ef6d4
...
@@ -11,7 +11,7 @@ typedef void (A::*handler) (X*);
...
@@ -11,7 +11,7 @@ typedef void (A::*handler) (X*);
class
B
{
class
B
{
public
:
public
:
void
setHandler
(
handler
);
// ERROR - fn ref in err msg
void
setHandler
(
handler
);
};
};
void
f
(
B
*
b
)
{
void
f
(
B
*
b
)
{
...
...
gcc/testsuite/g++.old-deja/g++.other/defarg2.C
0 → 100644
View file @
6c9ef6d4
// Test that default args don't mess up pmf type comparisons.
// Contributed by Jason Merrill <jason@cygnus.com>.
struct
A
{
void
f
(
int
=
0
)
{
}
};
int
main
()
{
void
(
A
::*
p
)(
int
)
=
0
;
p
=
&
A
::
f
;
if
(
p
!=
&
A
::
f
)
return
1
;
}
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