/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/g++.dg/diagnostic/pr52952-mismatching-argument-type-ucn-4.C: In function ‘void foo(const char*)’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/g++.dg/diagnostic/pr52952-mismatching-argument-type-ucn-4.C:9:17: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘const char*’ [-Wformat=] printf("hello \u0025\u0069", msg); /* { dg-warning "format '%i' expects argument of type 'int', but argument 2 has type 'const char\\*' " } */ ▲───────────