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
75d028ff
Commit
75d028ff
authored
Mar 19, 1998
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
From-SVN: r18709
parent
76b9a14d
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++.pt/memtemp73.C
+18
-0
gcc/testsuite/g++.old-deja/g++.pt/overload1.C
+15
-0
No files found.
gcc/testsuite/g++.old-deja/g++.pt/memtemp73.C
0 → 100644
View file @
75d028ff
template
<
class
T
>
struct
A
{
template
<
class
U
>
void
f
(
U
);
};
template
<
int
i
>
struct
B
{
};
template
<
class
T
>
template
<
class
U
>
void
A
<
T
>::
f
(
U
)
{
enum
{
foo
};
B
<
foo
>
b
;
}
int
main
()
{
A
<
char
>
a
;
a
.
f
(
42
);
}
gcc/testsuite/g++.old-deja/g++.pt/overload1.C
0 → 100644
View file @
75d028ff
template
<
class
T
>
struct
B
{
};
template
<
class
T
>
struct
A
{
template
<
class
U
,
class
V
>
int
operator
()
(
U
u
,
V
v
);
template
<
class
U
,
class
V
>
void
operator
()
(
B
<
U
>
u
,
B
<
V
>
v
)
{
}
};
int
main
()
{
A
<
int
>
a
;
B
<
char
>
b1
;
B
<
short
>
b2
;
a
(
b1
,
b2
);
}
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