https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245
--- Comment #5 from terryinzaghi <terryinzaghi at 163 dot com> --- /*Minimize Reproduce Code Based On Andrew Pinski's Example:*/ //-- can NOT work template<auto name> struct Cask {}; struct CanNOTWork : Cask<([]{})> { Cask<([]{})> c10{}; }; //-- can work struct CanWork : Cask<([]{})> { static constexpr auto Any_Thing_Just_End_With_Block_To_Let_Parser_Work = []{}; Cask<([]{})> c10{}; };