Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / format / strfmon-2.c
blob1ecef711d34e3c16e5c03cb6c72ebd59b8b75fb3
1 /* Test for strfmon format checking. Test for missing fill character
2 at end of format. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=gnu99 -Wformat" } */
7 #include "format.h"
9 void
10 foo (char *s, size_t m)
12 strfmon (s, m, "%="); /* { dg-warning "missing fill character at end" } */