https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84840
Bug ID: 84840 Summary: ICE (in poplevel_class) for `auto` in alias declaration Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: v.reshetnikov at gmail dot com Target Milestone: --- The following C++ code causes an ICE in GCC 8.0.1 20180312 (tested with https://godbolt.org/): /************* SOURCE *************/ struct S { using type = void(auto); }; /*********** END SOURCE ***********/ /************* OUTPUT *************/ <source>:3:1: internal compiler error: in poplevel_class, at cp/name-lookup.c:4423 }; ^ mmap: Invalid argument Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. Compiler returned: 1 /*********** END OUTPUT ***********/