2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20000112-1.c
blob080b6627cbeb5e1853abb07830a32a098e8e4c04
1 #include <string.h>
3 static int
4 special_format (fmt)
5 const char *fmt;
7 return (strchr (fmt, '*') != 0
8 || strchr (fmt, 'V') != 0
9 || strchr (fmt, 'S') != 0
10 || strchr (fmt, 'n') != 0);
13 main()
15 if (special_format ("ee"))
16 abort ();
17 if (!special_format ("*e"))
18 abort ();
19 exit (0);