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
279813c6
Commit
279813c6
authored
Jun 10, 1998
by
Robert Lipe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eb129, eb130. New tests from Klaus-Georg Adams.
From-SVN: r20405
parent
95193030
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
gcc/testsuite/g++.old-deja/g++.robertl/eb129.C
+22
-0
gcc/testsuite/g++.old-deja/g++.robertl/eb130.C
+11
-0
No files found.
gcc/testsuite/g++.old-deja/g++.robertl/eb129.C
0 → 100644
View file @
279813c6
// Build don't link:
// Gives ICE on EGCS release branch as of 98/06/08 on i686-pc-linux-gnulibc1)
// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
// Message-Id: <199806081358.PAA02505@achibm5.chemie.uni-karlsruhe.de>
#include <list>
#include <functional>
#include <algorithm>
#include <cassert>
int
main
()
{
list
<
int
>
l
;
l
.
push_back
(
1
);
l
.
push_back
(
2
);
list
<
int
>::
iterator
it
=
find_if
(
l
.
begin
(),
l
.
end
(),
// This is a typo, it should be bind2nd, but an
// ICE is not a very helpful diagnostic!
binder2nd
(
equal_to
<
int
>
(),
2
)
);
// ERROR -
assert
(
*
(
it
)
==
2
);
}
gcc/testsuite/g++.old-deja/g++.robertl/eb130.C
0 → 100644
View file @
279813c6
// Build don't link:
// Gives spurious warnings when compiled with -Wall
// EGCS 06/08/98 i686-pc-linux-gnulibc1
// Special g++ Options: -Wall
// Message-Id: <199806081358.PAA02505@achibm5.chemie.uni-karlsruhe.de>
// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
#include <hash_set>
std
::
hash_set
<
int
>
foo
;
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