http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60096
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- This looks invalid to me, you return a closure that holds a dangling reference to a function parameter that has gone out of scope.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60096
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- This looks invalid to me, you return a closure that holds a dangling reference to a function parameter that has gone out of scope.