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
ca077833
Commit
ca077833
authored
Feb 04, 1999
by
Brendan Kehoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix to actually offer usable results
From-SVN: r25032
parent
7f84e195
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
gcc/testsuite/g++.old-deja/g++.law/operators1.C
+2
-1
gcc/testsuite/g++.old-deja/g++.law/operators7.C
+2
-2
No files found.
gcc/testsuite/g++.old-deja/g++.law/operators1.C
View file @
ca077833
// GROUPS passed operators
// GROUPS passed operators
// opr-conv file
// opr-conv file
// excess errors test - XFAIL *-*-*
// Message-Id: <199301040217.AA04377@cypress.ucsc.edu>
// Message-Id: <199301040217.AA04377@cypress.ucsc.edu>
// From: "Dean R. E. Long" <dlong@cse.ucsc.edu>
// From: "Dean R. E. Long" <dlong@cse.ucsc.edu>
// Subject: conversion operator bug?
// Subject: conversion operator bug?
...
@@ -23,5 +24,5 @@ int main()
...
@@ -23,5 +24,5 @@ int main()
B
*
bp
=
(
B
*
)
a
;
B
*
bp
=
(
B
*
)
a
;
B
&
br
=
a
.
operator
B
&
();
B
&
br
=
a
.
operator
B
&
();
// What's the right test?
// What's the right test?
printf
(
"FAIL
\n
"
);
exit
(
1
);
}
}
gcc/testsuite/g++.old-deja/g++.law/operators7.C
View file @
ca077833
...
@@ -38,7 +38,7 @@ int main() {
...
@@ -38,7 +38,7 @@ int main() {
test
.
c
.
k
=
60
;
test
.
c
.
k
=
60
;
if
(
test2
->
c
.
k
==
35
if
(
test2
->
c
.
k
==
35
&&
test
.
c
.
k
==
60
)
&&
test
.
c
.
k
==
60
)
printf
(
"PASS
\n
"
);
exit
(
0
);
else
else
printf
(
"FAIL
\n
"
);
exit
(
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