https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124611
--- Comment #1 from Yuchang Su <suyuchang at whu dot edu.cn> ---
Before GCC 14.3
<source>:1:68: internal compiler error: in dependent_type_p, at cp/pt.cc:28141
1 | template <typename a, alignas(enum: enum {} {} struct a ::template a<b
a>::a<>::
|
^~~~~~
0x2e0559c internal_error(char const*, ...)
???:0
0xf1cad7 fancy_abort(char const*, int, char const*)
???:0
0x113b71d dependent_scope_p(tree_node*)
???:0
0x11264ba c_parse_file()
???:0
0x127d4f9 c_common_parse_file()
???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.