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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |107430

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note you can get the similar ICE with just:
```

using what_type = decltype(
    [](auto&& self,
        decltype([](decltype(self)&){}) x = {}){ return x; });

#include <typeinfo>
auto& info = typeid(what_type);
```


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430
[Bug 107430] [meta-bug] lambda in decltype

Reply via email to