https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99304
--- Comment #4 from Roland Illig <roland.illig at gmx dot de> --- Thank you for fixing the typos. Could you perhaps add the test cases to the test suite, to have the two diagnostics covered? Now that the typo is fixed, both should trivially pass.