blob: b592f15506391a0c297133b1aefbddefbd7843d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// PR c++/51927
// { dg-do compile { target c++11 } }
struct function
{
template<typename Functor>
function(Functor);
};
struct testee
{
function l1 = []() { };
function l2 = [=]() { l1; };
};
|