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
a28e148a
Commit
a28e148a
authored
Oct 25, 1998
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
From-SVN: r23341
parent
c8298f61
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
gcc/testsuite/g++.old-deja/g++.jason/template18.C
+4
-1
gcc/testsuite/g++.old-deja/g++.mike/p6058.C
+1
-1
gcc/testsuite/g++.old-deja/g++.mike/virt4.C
+2
-0
gcc/testsuite/g++.old-deja/g++.other/delete2.C
+2
-2
No files found.
gcc/testsuite/g++.old-deja/g++.jason/template18.C
View file @
a28e148a
...
...
@@ -2,11 +2,14 @@
// Bug: g++ emits template instances when it shouldn't.
// Special g++ Options: -g -fexternal-templates
// We mark this XFAIL for the 'collect2: ld returned 1 exit status' message.
// excess errors test - XFAIL *-*-*
#pragma implementation "irrelevant_file"
#line 1 "template18.h"
#pragma interface
template
<
class
T
>
inline
T
min
(
T
a
,
T
b
)
{
return
a
<
b
?
a
:
b
;
}
#line 1
2 "template18.C"
#line 1
3 "template18.C"
main
()
{
...
...
gcc/testsuite/g++.old-deja/g++.mike/p6058.C
View file @
a28e148a
...
...
@@ -4,7 +4,7 @@
void
bar
(
struct
s1
{
}
a
)
{
(
void
)
a
;
}
// ERROR -
struct
s2
*
fooey
()
// ERROR - XFAIL *-*-*
struct
s2
*
fooey
()
{
try
{
static_cast
<
struct
s3
{
}
*>
(
0
);
// ERROR -
...
...
gcc/testsuite/g++.old-deja/g++.mike/virt4.C
View file @
a28e148a
// Special g++ Options:
void
Foo
()
{}
class
B
{
...
...
gcc/testsuite/g++.old-deja/g++.other/delete2.C
View file @
a28e148a
...
...
@@ -5,8 +5,8 @@ struct foo {
};
void
bar
(
foo
a
)
{
delete
a
;
// should be accepted
- XFAIL *-*-*
delete
[]
a
;
// should be accepted
- XFAIL *-*-*
delete
a
;
// should be accepted
delete
[]
a
;
// should be accepted
char
b
[
1
];
delete
b
;
// ERROR - expecting pointer type
delete
[]
b
;
// ERROR - expecting pointer type
...
...
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