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
2ced0b14
Commit
2ced0b14
authored
Mar 23, 1999
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
From-SVN: r25942
parent
d986e15a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
94 additions
and
0 deletions
+94
-0
gcc/testsuite/g++.old-deja/g++.other/lookup10.C
+10
-0
gcc/testsuite/g++.old-deja/g++.other/mangle1.C
+42
-0
gcc/testsuite/g++.old-deja/g++.other/mangle2.C
+42
-0
No files found.
gcc/testsuite/g++.old-deja/g++.other/lookup10.C
0 → 100644
View file @
2ced0b14
// Build don't link:
struct
A
{
struct
B
{
static
int
i
;
};
enum
{
a
};
};
int
A
::
B
::
i
=
a
;
gcc/testsuite/g++.old-deja/g++.other/mangle1.C
0 → 100644
View file @
2ced0b14
// Test for proper mangling by setting up name clashes.
// Special g++ Options: -fno-squangle
class
A
{
};
typedef
A
A2
;
typedef
int
I
;
typedef
void
V
;
typedef
I
I2
;
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A
&
)
{
}
// ERROR - name clash
int
f__FRC1AiT0T0
=
0
;
// ERROR - name clash
void
f
(
int
,
long
,
int
,
I
)
{
}
// ERROR - name clash
int
f__Filii
=
0
;
// ERROR - name clash
void
f
(
I
,
float
,
I
,
I2
)
{
}
// ERROR - name clash
int
f__Fifii
=
0
;
// ERROR - name clash
void
f
(
void
*
,
float
,
void
*
,
V
*
)
{
}
// ERROR - name clash
int
f__FPvfT0T0
=
0
;
// ERROR - name clash
void
f
(
wchar_t
)
{
}
// ERROR - name clash
int
f__Fw
=
0
;
// ERROR - name clash
void
f
(
int
,
A
,
A2
,
A
)
{
}
// ERROR - name clash
int
f__FiG1AN21
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
&
)
{
}
// ERROR - name clash
int
f__FRC1AN30Ri
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
&
)
{
}
// ERROR - name clash
int
f__FRC1AiT0N20Ri
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
&
,
int
&
,
int
&
)
{
}
// ERROR - name clash
int
f__FRC1AiT0N20RiN25
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
,
int
,
int
)
{
}
// ERROR - name clash
int
f__FRC1AiT0N20iii
=
0
;
// ERROR - name clash
gcc/testsuite/g++.old-deja/g++.other/mangle2.C
0 → 100644
View file @
2ced0b14
// Test for proper mangling by setting up name clashes.
// Special g++ Options: -fsquangle
class
A
;
typedef
A
A2
;
typedef
int
I
;
typedef
void
V
;
typedef
I
I2
;
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A
&
)
{
}
// ERROR - name clash
int
f__FRC1AiRCB0n1
=
0
;
// ERROR - name clash
void
f
(
int
,
long
,
int
,
I
)
{
}
// ERROR - name clash
int
f__Filii
=
0
;
// ERROR - name clash
void
f
(
I
,
float
,
I
,
I2
)
{
}
// ERROR - name clash
int
f__Fifii
=
0
;
// ERROR - name clash
void
f
(
void
*
,
float
,
void
*
,
V
*
)
{
}
// ERROR - name clash
int
f__FPvfPvn1
=
0
;
// ERROR - name clash
void
f
(
wchar_t
)
{
}
// ERROR - name clash
int
f__Fw
=
0
;
// ERROR - name clash
void
f
(
int
,
A
,
A2
,
A
)
{
}
// ERROR - name clash
int
f__FiG1An2
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
&
)
{
}
// ERROR - name clash
int
f__FRC1An3Ri
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
&
)
{
}
// ERROR - name clash
int
f__FRC1AiRCB0n2Ri
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
&
,
int
&
,
int
&
)
{
}
// ERROR - name clash
int
f__FRC1AiRCB0n2Rin2
=
0
;
// ERROR - name clash
void
f
(
const
A2
&
,
int
,
const
A2
&
,
const
A2
&
,
const
A2
&
,
int
,
int
,
int
)
{
}
// ERROR - name clash
int
f__FRC1AiRCB0n2in2
=
0
;
// ERROR - name clash
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