OSDN Git Service

Merge lto branch into trunk.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20000112-1.c
1 #include <string.h>
2
3 static int
4 special_format (fmt)
5      const char *fmt;
6 {
7   return (strchr (fmt, '*') != 0
8           || strchr (fmt, 'V') != 0
9           || strchr (fmt, 'S') != 0
10           || strchr (fmt, 'n') != 0);
11 }
12
13 main()
14 {
15   if (special_format ("ee"))
16     abort ();
17   if (!special_format ("*e"))
18     abort ();
19   exit (0);
20 }
21