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
f349fb24
Commit
f349fb24
authored
Jan 02, 2003
by
Neil Booth
Committed by
Neil Booth
Jan 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/parse/parse6.C: New test.
From-SVN: r60795
parent
bf16e745
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/parse/parse6.C
+31
-0
No files found.
gcc/testsuite/ChangeLog
View file @
f349fb24
2003-01-02 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse6.C: New test.
2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/h8300-stack-1.c: New.
...
...
gcc/testsuite/g++.dg/parse/parse6.C
0 → 100644
View file @
f349fb24
/* PR c++/3012 */
/* { dg-do compile } */
class
A
{
public
:
template
<
class
T
>
void
foo
()
const
{
}
};
template
<
class
T
>
class
B
{
public
:
void
bar
(
const
A
&
a
)
const
{
// Compile used to fail with parse error before `;' token
a
.
foo
<
double
>
();
}
};
int
main
()
{
A
a
;
B
<
int
>
b
;
b
.
bar
(
a
);
}
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