/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/spellcheck.c: In function ‘test’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/spellcheck.c:13:15: error: ‘struct foo’ has no member named ‘m_bar’; did you mean ‘bar’? return ptr->m_bar; /* { dg-error "'struct foo' has no member named 'm_bar'; did you mean 'bar'?" } */ ─── ▲──── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/spellcheck.c: In function ‘test2’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/spellcheck.c:24:19: error: ‘struct foo’ has no member named ‘m_bar’; did you mean ‘bar’? return instance.m_bar; /* { dg-error "'struct foo' has no member named 'm_bar'; did you mean 'bar'?" } */ ──────── ▲──── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/spellcheck.c: At top level: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/spellcheck.c:32:1: error: unknown type name ‘int64’; did you mean ‘int’? int64 foo; /* { dg-error "unknown type name 'int64'; did you mean 'int'?" } */ ▲────