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
8a262baf
Commit
8a262baf
authored
Nov 22, 2011
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix linenos
From-SVN: r181624
parent
0f5b622c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libstdc++-v3/testsuite/20_util/bind/ref_neg.cc
+4
-4
No files found.
libstdc++-v3/testsuite/20_util/bind/ref_neg.cc
View file @
8a262baf
...
@@ -30,10 +30,10 @@ void test01()
...
@@ -30,10 +30,10 @@ void test01()
{
{
const
int
dummy
=
0
;
const
int
dummy
=
0
;
std
::
bind
(
&
inc
,
_1
)(
0
);
// { dg-error "no match" }
std
::
bind
(
&
inc
,
_1
)(
0
);
// { dg-error "no match" }
// { dg-error "rvalue|const" "" { target *-*-* } 1
199
}
// { dg-error "rvalue|const" "" { target *-*-* } 1
206
}
// { dg-error "rvalue|const" "" { target *-*-* } 121
2
}
// { dg-error "rvalue|const" "" { target *-*-* } 121
9
}
// { dg-error "rvalue|const" "" { target *-*-* } 12
26
}
// { dg-error "rvalue|const" "" { target *-*-* } 12
33
}
// { dg-error "rvalue|const" "" { target *-*-* } 124
0
}
// { dg-error "rvalue|const" "" { target *-*-* } 124
7
}
std
::
bind
(
&
inc
,
std
::
ref
(
dummy
))();
// { dg-error "no match" }
std
::
bind
(
&
inc
,
std
::
ref
(
dummy
))();
// { dg-error "no match" }
}
}
...
...
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