// PR c++/51927 // { dg-do compile { target c++11 } } struct function { template function(Functor); }; struct testee { function l1 = []() { }; function l2 = [=]() { l1; }; };