blob: ba6f388a210050e51c61b8f60a8e55c837358d36 [file] [log] [blame]
// PR c++/105626
// { dg-do compile { target c++11 } }
// { dg-options "-Wformat" }
// { dg-additional-options "-fchar8_t" { target c++17_down } }
int main()
{
__builtin_printf((const char*) u8"test %d\n", 1); // { dg-bogus "format string" }
return 0;
}