[Bug c++/102367] types can be defined in lambdas in unevaluated expression (decltype/sizeof) in C++20

2021-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102367

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|NEW |RESOLVED

--- Comment #2 from Andrew Pinski  ---
(In reply to Andrew Pinski from comment #1)
> I thought there was a dup of this bug somewhere.
> Anyways confirmed.

I did, PR 101911.

*** This bug has been marked as a duplicate of bug 101911 ***

[Bug c++/102367] types can be defined in lambdas in unevaluated expression (decltype/sizeof) in C++20

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102367

Andrew Pinski  changed:

   What|Removed |Added

Summary|Types may be defined in |types can be defined in
   |`decltype` or `sizeof`  |lambdas in unevaluated
   |expressions in C++20|expression
   ||(decltype/sizeof) in C++20
   Last reconfirmed||2021-09-16
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #1 from Andrew Pinski  ---
I thought there was a dup of this bug somewhere.
Anyways confirmed.