Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / warn / Wformat-char8_t-1.C
blobba6f388a210050e51c61b8f60a8e55c837358d36
1 // PR c++/105626
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wformat" }
4 // { dg-additional-options "-fchar8_t" { target c++17_down } }
6 int main()
8   __builtin_printf((const char*) u8"test %d\n", 1); // { dg-bogus "format string" }
9   return 0;