: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: teemu at hecknology dot net
Target Milestone: ---
Created attachment 40715
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40715&action=edit
Minimal example
GCC crashes compiling the attached source file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79457
--- Comment #1 from Teemu Piippo ---
If the "S" declaration is removed and the decltype(...) moved into the return
type of Foo::boo(), GCC does not crash and builds the example properly.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79457
--- Comment #2 from Teemu Piippo ---
Created attachment 40716
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40716&action=edit
Minimal example that does not crash