http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56222

--- Comment #2 from Daniel Krügler <daniel.kruegler at googlemail dot com> 
2013-02-06 11:42:21 UTC ---
The code looks valid to me, I don't see any reason for capturing something
here. The expression "&Test::y" should be valid in that scope and returns an
rvalue.

Reply via email to