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
d4413948
Commit
d4413948
authored
Jan 01, 2003
by
Neil Booth
Committed by
Neil Booth
Jan 01, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/template/friend11.C: New test.
From-SVN: r60725
parent
ecc7182c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/template/friend11.C
+18
-0
No files found.
gcc/testsuite/ChangeLog
View file @
d4413948
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/template/friend11.C: New test.
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse1.C: New test.
* g++.dg/parse/parse1.C: New test.
2002-12-31 Janis Johnson <janis187@us.ibm.com>
2002-12-31 Janis Johnson <janis187@us.ibm.com>
...
...
gcc/testsuite/g++.dg/template/friend11.C
0 → 100644
View file @
d4413948
/* PR c++/53 */
/* { dg-do compile } */
template
<
class
T
>
struct
A
{
template
<
class
U
>
class
B
;
// Did not compile with gcc-2.95.2 (linux i686) :-(
template
<
class
S
>
template
<
class
U
>
friend
class
A
<
S
>::
B
;
};
template
<
class
S
>
template
<
class
U
>
class
A
<
S
>::
B
{
};
int
main
(){
A
<
double
>::
B
<
double
>
ab
;
return
0
;
}
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