/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'?" } */ ─── ▲──── 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:25: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'?" } */ ──────── ▲──── 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:35:1: error: unknown type name ‘int64’; did you mean ‘int64_t’? int64 foo; /* { dg-error "unknown type name 'int64'; did you mean 'int64_t'?" } */ ▲──── int64_t