/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/pr52952-mismatching-argument-type.c: In function ‘foo’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/format/pr52952-mismatching-argument-type.c:7: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 \\*' " } */ ▲─