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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-nsdmi4.C
blob
b592f15506391a0c297133b1aefbddefbd7843d2
1
// PR c++/51927
2
// { dg-do compile { target c++11 } }
3
4
struct function
5
{
6
template<typename Functor>
7
function(Functor);
8
};
9
10
struct testee
11
{
12
function l1 = []() { };
13
function l2 = [=]() { l1; };
14
};