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
4d870388
Commit
4d870388
authored
Jun 11, 2000
by
Mark Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert last patch
From-SVN: r34487
parent
88fa5197
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
11 deletions
+18
-11
gcc/testsuite/g++.old-deja/g++.other/mangle1.C
+18
-11
No files found.
gcc/testsuite/g++.old-deja/g++.other/mangle1.C
View file @
4d870388
// Test for proper mangling by setting up name clashes.
// Special g++ Options: -fno-squangle
#if (!defined (__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100)
#define NAME(OLD, NEW) OLD
#else
#define NAME(OLD, NEW) NEW
#endif
/* (!defined (__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */
class
A
{
};
typedef
A
A2
;
...
...
@@ -7,41 +14,41 @@ typedef void V;
typedef
I
I2
;
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A
&
)
{
}
// ERROR - name clash
int
_Z1fRK1AiS1_S1_
=
0
;
// ERROR - name clash
int
NAME
(
f__FRC1AiT0T0
,
_Z1fRK1AiS1_S1_
)
=
0
;
// ERROR - name clash
void
f
(
int
,
long
,
int
,
I
)
{
}
// ERROR - name clash
int
_Z1filii
=
0
;
// ERROR - name clash
int
NAME
(
f__Filii
,
_Z1filii
)
=
0
;
// ERROR - name clash
void
f
(
I
,
float
,
I
,
I2
)
{
}
// ERROR - name clash
int
_Z1fifii
=
0
;
// ERROR - name clash
int
NAME
(
f__Fifii
,
_Z1fifii
)
=
0
;
// ERROR - name clash
void
f
(
void
*
,
float
,
void
*
,
V
*
)
{
}
// ERROR - name clash
int
_Z1fPvfS_S_
=
0
;
// ERROR - name clash
int
NAME
(
f__FPvfT0T0
,
_Z1fPvfS_S_
)
=
0
;
// ERROR - name clash
void
f
(
wchar_t
)
{
}
// ERROR - name clash
int
_Z1fw
=
0
;
// ERROR - name clash
int
NAME
(
f__Fw
,
_Z1fw
)
=
0
;
// ERROR - name clash
void
f
(
int
,
A
,
A2
,
A
)
{
}
// ERROR - name clash
int
_Z1fi1AS_S_
=
0
;
// ERROR - name clash
int
NAME
(
f__FiG1AN21
,
_Z1fi1AS_S_
)
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
&
)
{
}
// ERROR - name clash
int
_Z1fRK1AS1_S1_S1_Ri
=
0
;
// ERROR - name clash
int
NAME
(
f__FRC1AN30Ri
,
_Z1fRK1AS1_S1_S1_Ri
)
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
&
)
{
}
// ERROR - name clash
int
_Z1fRK1AiS1_S1_S1_Ri
=
0
;
// ERROR - name clash
int
NAME
(
f__FRC1AiT0N20Ri
,
_Z1fRK1AiS1_S1_S1_Ri
)
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
&
,
int
&
,
int
&
)
{
}
// ERROR - name clash
int
_Z1fRK1AiS1_S1_S1_RiS2_S2_
=
0
;
// ERROR - name clash
int
NAME
(
f__FRC1AiT0N20RiN25
,
_Z1fRK1AiS1_S1_S1_RiS2_S2_
)
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
,
int
,
int
)
{
}
// ERROR - name clash
int
_Z1fRK1AiS1_S1_S1_iii
=
0
;
// ERROR - name clash
int
NAME
(
f__FRC1AiT0N20iii
,
_Z1fRK1AiS1_S1_S1_iii
)
=
0
;
// ERROR - name clash
void
f
(
bool
,
bool
)
{}
// ERROR - name clash
int
_Z1fbb
=
0
;
// ERROR - name clash
int
NAME
(
f__FbT0
,
_Z1fbb
)
=
0
;
// ERROR - name clash
int
main
()
...
...
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