https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86359

Mariusz Chilmon <vmario1986 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmario1986 at gmail dot com

--- Comment #1 from Mariusz Chilmon <vmario1986 at gmail dot com> ---
In GCC 7.3.0 Marcin's code works, though it should not because `number` is not
captured. In GCC 9.0.0 compiler returns correct message: `error: 'number' is
not captured`.

Reply via email to