https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115030
--- Comment #1 from Seyed Sajad Kahani <sska1377 at gmail dot com> --- Created attachment 58176 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58176&action=edit report_2.cc, additional invalid code Moreover, by replacing 'c' with A<char>{} that makes it an invalid code (see attached report_2.cc) will compile successfully.