------- Comment #8 from indy2718 at gmail dot com 2010-04-11 17:31 ------- reduced the test.cpp case to:
struct B { public: int _a; }; void func() { [](const B & b) -> const int & { return b._a; }; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43641