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
4683f47c
Commit
4683f47c
authored
Jul 21, 2016
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PR c++/70942 - generic lambda with auto&& parameter.
* g++.dg/cpp1y/lambda-generic-conv3.C: New. From-SVN: r238561
parent
451dcc66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
gcc/testsuite/g++.dg/cpp1y/lambda-generic-conv3.C
+10
-0
No files found.
gcc/testsuite/g++.dg/cpp1y/lambda-generic-conv3.C
0 → 100644
View file @
4683f47c
// PR c++/70942
// { dg-do compile { target c++14 } }
int
main
()
{
int
x
=
0
;
[](
auto
&&
xv
){
static_cast
<
decltype
(
xv
)
>
(
xv
)
=
1
;
}(
x
);
}
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