/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘undeclared_identifier’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:9:3: error: ‘name’ undeclared (first use in this function) name; /* { dg-error "'name' undeclared" } */ ▲─── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:9:3: note: each undeclared identifier is reported only once for each function it appears in /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘unknown_type_name’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:20:3: error: unknown type name ‘foo’ foo bar; /* { dg-error "unknown type name 'foo'" } */ ▲── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:28:3: error: unknown type name ‘qux’ qux *baz; /* { dg-error "unknown type name 'qux'" } */ ▲── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘test_identifier_conflicts_with_cplusplus’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:39:7: warning: identifier ‘new’ conflicts with C++ keyword [-Wc++-compat] int new; /* { dg-warning "identifier 'new' conflicts with" } */ ▲── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: At top level: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:49:16: error: ISO C requires a named argument before ‘...’ bogus_varargs (...); /* { dg-error "ISO C requires a named argument before '...'" } */ ▲── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:58:6: error: unknown type name ‘unknown_type’ foo (unknown_type param); /* { dg-error "unknown type name 'unknown_type'" } */ ▲─────────── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘wide_string_literal_in_asm’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:68:8: error: wide string literal in ‘asm’ asm (L"nop"); /* { dg-error "wide string literal in 'asm'" } */ ▲───── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘label_in_front_of_decl’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:80:3: error: a label can only be part of a statement and a declaration is not a statement label: ───── int i; /* { dg-error "a label can only be part of a statement and a declaration is not a statement" } */ ▲──