repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branches/gcc-4_8-branch rev 216856
[official-gcc.git]
/
gcc-4_8-branch
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-names1.C
blob
df2b03705aebb93e2ab60ffb65732481453a171e
1
// PR c++/56710
2
// { dg-options "-std=c++11 -Wall" }
3
4
int main()
5
{
6
int t = 0;
7
return [&]() -> int {int __t; __t = t; return __t; }();
8
return [&t]() -> int {int __t; __t = t; return __t; }();
9
}