[Bug c++/115030] Constrained auto variable declaration with partial specialization

2024-05-10 Thread sska1377 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115030 --- Comment #2 from Seyed Sajad Kahani --- Created attachment 58177 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58177&action=edit a similar code that works, as a clue (clue_1.cc) Additionally, the problem will disappear by enclosing v

[Bug c++/115030] Constrained auto variable declaration with partial specialization

2024-05-10 Thread sska1377 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115030 --- Comment #1 from Seyed Sajad Kahani --- 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{} that makes it an invalid code (