/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/g++.dg/diagnostic/pr52952-mismatching-argument-type-ucn-8.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-8.C:9:17: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘const char*’ [-Wformat=] printf("hello \U00000025\U00000069", msg); /* { dg-warning "format '%i' expects argument of type 'int', but argument 2 has type 'const char\\*' " } */ ▲───────────────────