https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95725
--- Comment #7 from Haoxin Tu <haoxintu at gmail dot com> --- By the way, can you take a look at bug 95597 and bug 95659? I think GCC should accept the first case and shouldn't miss the error message in the second code. Those cases are different from this report.