/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c: In function ‘test_mismatching_types’:
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c:9:17: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘const char *’ [-Wformat=]
   printf("hello %i", msg);  /* { dg-warning "format '%i' expects argument of type 'int', but argument 2 has type 'const char \\*' " } */                                                                 
                 ▲─   ───                                                                                                                                                                                 
                                                                                                                                                                                                          
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c: In function ‘test_multiple_arguments’:                                                                      
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c:19:28: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]     
   printf ("arg0: %i  arg1: %s arg 2: %i", /* { dg-warning "format '%s'" } */                                                                                                                             
                            ▲─                                                                                                                                                                            
           100, 101, 102);                                                                                                                                                                                
                ───                                                                                                                                                                                       

/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c: In function ‘multiline_format_string’:                                                                      
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c:32:12: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]                                    
           "%"  /* { dg-warning "format '%d' expects a matching 'int' argument" } */                                                                                                                      
            ▲───────────────────────────────────────────────────────────────────────                                                                                                                      
           "d"                                                                                                                                                                                            
           ─┘                                                                                                                                                                                             
                                                                                                                                                                                                          
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c: In function ‘test_hex’:                                                                                     
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c:48:17: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘const char *’ [-Wformat=]
   printf("hello \x25\x69", msg);  /* { dg-warning "format '%i' expects argument of type 'int', but argument 2 has type 'const char \\*' " } */                                                            
                 ▲───────   ───                                                                                                                                                                            
                                                                                                                                                                                                           
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c: In function ‘test_oct’:                                                                                      
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c:60:17: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘const char *’ [-Wformat=]
   printf("hello \045\151", msg);  /* { dg-warning "format '%i' expects argument of type 'int', but argument 2 has type 'const char \\*' " } */                                                            
                 ▲───────   ───                                                                                                                                                                            
                                                                                                                                                                                                           
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c: In function ‘test_multiple’:                                                                                 
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c:72:21: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘const char *’ [-Wformat=]
   printf("prefix"  "\x25"  "\151"  "suffix",  /* { dg-warning "format '%i'" } */                                                                                                                          
                     ▲───────────                                                                                                                                                                          
          msg);                                                                                                                                                                                            
          ───                                                                                                                                                                                              

/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c: In function ‘test_u8’:                                                                                       
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c:86:19: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘const char *’ [-Wformat=]
   printf(u8"hello %i", msg);/* { dg-warning "format '%i' expects argument of type 'int', but argument 2 has type 'const char \\*' " } */                                                                  
                   ▲─   ───                                                                                                                                                                                
                                                                                                                                                                                                           
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c: In function ‘test_spurious_percent’:                                                                         
/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/diagnostic-ranges.c:95:23: warning: spurious trailing ‘%’ in format [-Wformat=]                                                   
   printf("hello world %"); /* { dg-warning "spurious trailing" } */