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
6d1e16d7
Commit
6d1e16d7
authored
Feb 18, 2000
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
From-SVN: r32058
parent
8ade4771
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
gcc/testsuite/g++.old-deja/g++.ns/type1.C
+18
-0
gcc/testsuite/g++.old-deja/g++.other/access9.C
+10
-0
gcc/testsuite/g++.old-deja/g++.other/redecl3.C
+8
-0
No files found.
gcc/testsuite/g++.old-deja/g++.ns/type1.C
0 → 100644
View file @
6d1e16d7
// Test that using an elaborated-type-specifier in a namespace to refer
// to a class outside the namespace does not cause its name to be considered
// declared in the namespace.
// Contributed by Jason Merrill <jason@cygnus.com>
// Build don't link:
struct
A
{
};
int
A
;
namespace
N
{
struct
A
*
f
();
}
using
namespace
N
;
struct
A
*
a
;
gcc/testsuite/g++.old-deja/g++.other/access9.C
0 → 100644
View file @
6d1e16d7
// Test that g++ allows friends to use private types in their declarations.
// Build don't link:
class
A
{
typedef
int
I
;
friend
I
f
(
I
);
};
A
::
I
f
(
A
::
I
);
A
::
I
f
(
A
::
I
)
{
return
0
;
}
gcc/testsuite/g++.old-deja/g++.other/redecl3.C
0 → 100644
View file @
6d1e16d7
// Bug: g++ thought this was a redeclaration of a local variable.
// Build don't link:
int
i
;
int
main
()
{
extern
int
i
;
}
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