#include <string.h> | |
static int | |
special_format (fmt) | |
const char *fmt; | |
{ | |
return (strchr (fmt, '*') != 0 | |
|| strchr (fmt, 'V') != 0 | |
|| strchr (fmt, 'S') != 0 | |
|| strchr (fmt, 'n') != 0); | |
} | |
main() | |
{ | |
if (special_format ("ee")) | |
abort (); | |
if (!special_format ("*e")) | |
abort (); | |
exit (0); | |
} | |