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
ad0178f8
Commit
ad0178f8
authored
Jun 23, 2006
by
Lee Millward
Committed by
Lee Millward
Jun 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error22.C: Fix typo.
* g++.dg/template/error22.C: Fix typo. From-SVN: r114949
parent
0b9cb8c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/template/error22.C
+1
-1
No files found.
gcc/testsuite/ChangeLog
View file @
ad0178f8
2006
-
06
-
23
Lee
Millward
<
lee
.
millward
@gmail
.
com
>
*
g
++
.
dg
/
template
/
error22
.
C
:
Fix
typo
.
2006
-
06
-
23
Volker
Reichelt
<
reichelt
@igpm
.
rwth
-
aachen
.
de
>
2006
-
06
-
23
Volker
Reichelt
<
reichelt
@igpm
.
rwth
-
aachen
.
de
>
PR
c
++/
28112
PR
c
++/
28112
gcc/testsuite/g++.dg/template/error22.C
View file @
ad0178f8
...
@@ -4,6 +4,6 @@ struct A
...
@@ -4,6 +4,6 @@ struct A
{
{
template
<
void
(
A
::*
)()
>
struct
B
{};
template
<
void
(
A
::*
)()
>
struct
B
{};
void
::
foo
();
// { dg-error "invalid use" }
void
::
foo
();
// { dg-error "invalid use" }
B
<&
A
::
foo
>
b
;
// { dg-err
r
or "incomplete type|template argument" }
B
<&
A
::
foo
>
b
;
// { dg-error "incomplete type|template argument" }
};
};
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