]> git.wh0rd.org Git - ICEs.git/blob - 490546/fxprintf.i.1
more
[ICEs.git] / 490546 / fxprintf.i.1
1 extern void __assert_fail(__const char *__assertion, __const char *__file,
2                           unsigned int __line, __const char *__function)
3     __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
4 typedef unsigned int size_t;
5 typedef unsigned int wchar_t;
6 typedef struct _IO_FILE FILE;
7 struct _IO_FILE {
8         int _mode;
9 };
10 int __fxprintf(FILE * fp, const char *fmt, ...)
11 {
12         if (( {
13              int __result = (0); if (__result < 0 && !(0)) {
14              }
15              else
16              if (__builtin_constant_p(0)
17                  && (0) == 0) __result = (0) ? -1 : (fp)->_mode; __result;}
18             ) > 0) {
19                 size_t len = strlen(fmt) + 1;
20                 wchar_t wfmt[len];
21                 for (size_t i = 0; i < len; ++i) {
22                         (((((fmt[i]) & ~0x7f) ==
23                            0)) ? (void)(0) :
24                          __assert_fail("(((fmt[i]) & ~0x7f) == 0)",
25                                        "fxprintf.c", 45, __PRETTY_FUNCTION__));
26                 }
27         }
28 }