Version: 9.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: beachboy44 at me dot com
Target Milestone: ---
https://godbolt.org/z/OQHx2M
The following code fails to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91309
--- Comment #1 from beachboy44 at me dot com ---
Possibly related cases that also fail to compile:
template
using F = decltype([]{ return T{0}; });
auto g = [](auto x) {
using G = F;
return G{}();
};
https://godbolt.org/z/tSwWUF
auto
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: beachboy44 at me dot com
Target Milestone: ---
https://godbolt.org/z/8O-ItF
The following code fails to compile:
template
struct S {};
template