1 /* Test for gettext default attributes. */
2 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu99 -Wformat" } */
11 printf (gettext ("%d"), i
);
12 printf (gettext ("%ld"), i
); /* { dg-warning "format" "gettext" } */
13 printf (dgettext ("", "%d"), i
);
14 printf (dgettext ("", "%ld"), i
); /* { dg-warning "format" "dgettext" } */
15 printf (dcgettext ("", "%d", 0), i
);
16 printf (dcgettext ("", "%ld", 0), i
); /* { dg-warning "format" "dcgettext" } */