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" } */ 6 7#include "format.h" 8 9void 10foo (char *s, size_t m) 11{ 12 strfmon (s, m, "%="); /* { dg-warning "missing fill character at end" } */ 13} 14