Advertisement
Guest User

clang error log

a guest
May 11th, 2012
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 40.13 KB | None | 0 0
  1. # 1 "fail.c"
  2. # 1 "fail.c" 1
  3. # 1 "<built-in>" 1
  4. # 1 "<built-in>" 3
  5. # 132 "<built-in>" 3
  6. # 1 "<command line>" 1
  7. # 1 "<built-in>" 2
  8. # 1 "fail.c" 2
  9. # 1 "/usr/include/stdio.h" 1 3 4
  10. # 28 "/usr/include/stdio.h" 3 4
  11. # 1 "/usr/include/features.h" 1 3 4
  12. # 358 "/usr/include/features.h" 3 4
  13. # 1 "/usr/include/sys/cdefs.h" 1 3 4
  14. # 378 "/usr/include/sys/cdefs.h" 3 4
  15. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  16. # 379 "/usr/include/sys/cdefs.h" 2 3 4
  17. # 359 "/usr/include/features.h" 2 3 4
  18. # 382 "/usr/include/features.h" 3 4
  19. # 1 "/usr/include/gnu/stubs.h" 1 3 4
  20.  
  21.  
  22.  
  23. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  24. # 5 "/usr/include/gnu/stubs.h" 2 3 4
  25.  
  26.  
  27.  
  28.  
  29. # 1 "/usr/include/gnu/stubs-64.h" 1 3 4
  30. # 10 "/usr/include/gnu/stubs.h" 2 3 4
  31. # 383 "/usr/include/features.h" 2 3 4
  32. # 29 "/usr/include/stdio.h" 2 3 4
  33.  
  34.  
  35.  
  36.  
  37.  
  38. # 1 "/usr/bin/../lib/clang/3.0/include/stddef.h" 1 3 4
  39. # 31 "/usr/bin/../lib/clang/3.0/include/stddef.h" 3 4
  40. typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;
  41.  
  42.  
  43.  
  44. typedef __typeof__(sizeof(int)) size_t;
  45.  
  46.  
  47.  
  48.  
  49. typedef int wchar_t;
  50. # 35 "/usr/include/stdio.h" 2 3 4
  51.  
  52. # 1 "/usr/include/bits/types.h" 1 3 4
  53. # 28 "/usr/include/bits/types.h" 3 4
  54. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  55. # 29 "/usr/include/bits/types.h" 2 3 4
  56.  
  57.  
  58. typedef unsigned char __u_char;
  59. typedef unsigned short int __u_short;
  60. typedef unsigned int __u_int;
  61. typedef unsigned long int __u_long;
  62.  
  63.  
  64. typedef signed char __int8_t;
  65. typedef unsigned char __uint8_t;
  66. typedef signed short int __int16_t;
  67. typedef unsigned short int __uint16_t;
  68. typedef signed int __int32_t;
  69. typedef unsigned int __uint32_t;
  70.  
  71. typedef signed long int __int64_t;
  72. typedef unsigned long int __uint64_t;
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80. typedef long int __quad_t;
  81. typedef unsigned long int __u_quad_t;
  82. # 131 "/usr/include/bits/types.h" 3 4
  83. # 1 "/usr/include/bits/typesizes.h" 1 3 4
  84. # 132 "/usr/include/bits/types.h" 2 3 4
  85.  
  86.  
  87. typedef unsigned long int __dev_t;
  88. typedef unsigned int __uid_t;
  89. typedef unsigned int __gid_t;
  90. typedef unsigned long int __ino_t;
  91. typedef unsigned long int __ino64_t;
  92. typedef unsigned int __mode_t;
  93. typedef unsigned long int __nlink_t;
  94. typedef long int __off_t;
  95. typedef long int __off64_t;
  96. typedef int __pid_t;
  97. typedef struct { int __val[2]; } __fsid_t;
  98. typedef long int __clock_t;
  99. typedef unsigned long int __rlim_t;
  100. typedef unsigned long int __rlim64_t;
  101. typedef unsigned int __id_t;
  102. typedef long int __time_t;
  103. typedef unsigned int __useconds_t;
  104. typedef long int __suseconds_t;
  105.  
  106. typedef int __daddr_t;
  107. typedef long int __swblk_t;
  108. typedef int __key_t;
  109.  
  110.  
  111. typedef int __clockid_t;
  112.  
  113.  
  114. typedef void * __timer_t;
  115.  
  116.  
  117. typedef long int __blksize_t;
  118.  
  119.  
  120.  
  121.  
  122. typedef long int __blkcnt_t;
  123. typedef long int __blkcnt64_t;
  124.  
  125.  
  126. typedef unsigned long int __fsblkcnt_t;
  127. typedef unsigned long int __fsblkcnt64_t;
  128.  
  129.  
  130. typedef unsigned long int __fsfilcnt_t;
  131. typedef unsigned long int __fsfilcnt64_t;
  132.  
  133. typedef long int __ssize_t;
  134.  
  135.  
  136.  
  137. typedef __off64_t __loff_t;
  138. typedef __quad_t *__qaddr_t;
  139. typedef char *__caddr_t;
  140.  
  141.  
  142. typedef long int __intptr_t;
  143.  
  144.  
  145. typedef unsigned int __socklen_t;
  146. # 37 "/usr/include/stdio.h" 2 3 4
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155. struct _IO_FILE;
  156.  
  157.  
  158.  
  159. typedef struct _IO_FILE FILE;
  160. # 65 "/usr/include/stdio.h" 3 4
  161. typedef struct _IO_FILE __FILE;
  162. # 75 "/usr/include/stdio.h" 3 4
  163. # 1 "/usr/include/libio.h" 1 3 4
  164. # 32 "/usr/include/libio.h" 3 4
  165. # 1 "/usr/include/_G_config.h" 1 3 4
  166. # 15 "/usr/include/_G_config.h" 3 4
  167. # 1 "/usr/bin/../lib/clang/3.0/include/stddef.h" 1 3 4
  168. # 16 "/usr/include/_G_config.h" 2 3 4
  169.  
  170.  
  171.  
  172.  
  173. # 1 "/usr/include/wchar.h" 1 3 4
  174. # 83 "/usr/include/wchar.h" 3 4
  175. typedef struct
  176. {
  177.   int __count;
  178.   union
  179.   {
  180.  
  181.     unsigned int __wch;
  182.  
  183.  
  184.  
  185.     char __wchb[4];
  186.   } __value;
  187. } __mbstate_t;
  188. # 21 "/usr/include/_G_config.h" 2 3 4
  189.  
  190. typedef struct
  191. {
  192.   __off_t __pos;
  193.   __mbstate_t __state;
  194. } _G_fpos_t;
  195. typedef struct
  196. {
  197.   __off64_t __pos;
  198.   __mbstate_t __state;
  199. } _G_fpos64_t;
  200. # 53 "/usr/include/_G_config.h" 3 4
  201. typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
  202. typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
  203. typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
  204. typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
  205. # 33 "/usr/include/libio.h" 2 3 4
  206. # 53 "/usr/include/libio.h" 3 4
  207. # 1 "/usr/bin/../lib/clang/3.0/include/stdarg.h" 1 3 4
  208. # 30 "/usr/bin/../lib/clang/3.0/include/stdarg.h" 3 4
  209. typedef __builtin_va_list va_list;
  210. # 48 "/usr/bin/../lib/clang/3.0/include/stdarg.h" 3 4
  211. typedef __builtin_va_list __gnuc_va_list;
  212. # 54 "/usr/include/libio.h" 2 3 4
  213. # 172 "/usr/include/libio.h" 3 4
  214. struct _IO_jump_t; struct _IO_FILE;
  215. # 182 "/usr/include/libio.h" 3 4
  216. typedef void _IO_lock_t;
  217.  
  218.  
  219.  
  220.  
  221.  
  222. struct _IO_marker {
  223.   struct _IO_marker *_next;
  224.   struct _IO_FILE *_sbuf;
  225.  
  226.  
  227.  
  228.   int _pos;
  229. # 205 "/usr/include/libio.h" 3 4
  230. };
  231.  
  232.  
  233. enum __codecvt_result
  234. {
  235.   __codecvt_ok,
  236.   __codecvt_partial,
  237.   __codecvt_error,
  238.   __codecvt_noconv
  239. };
  240. # 273 "/usr/include/libio.h" 3 4
  241. struct _IO_FILE {
  242.   int _flags;
  243.  
  244.  
  245.  
  246.  
  247.   char* _IO_read_ptr;
  248.   char* _IO_read_end;
  249.   char* _IO_read_base;
  250.   char* _IO_write_base;
  251.   char* _IO_write_ptr;
  252.   char* _IO_write_end;
  253.   char* _IO_buf_base;
  254.   char* _IO_buf_end;
  255.  
  256.   char *_IO_save_base;
  257.   char *_IO_backup_base;
  258.   char *_IO_save_end;
  259.  
  260.   struct _IO_marker *_markers;
  261.  
  262.   struct _IO_FILE *_chain;
  263.  
  264.   int _fileno;
  265.  
  266.  
  267.  
  268.   int _flags2;
  269.  
  270.   __off_t _old_offset;
  271.  
  272.  
  273.  
  274.   unsigned short _cur_column;
  275.   signed char _vtable_offset;
  276.   char _shortbuf[1];
  277.  
  278.  
  279.  
  280.   _IO_lock_t *_lock;
  281. # 321 "/usr/include/libio.h" 3 4
  282.   __off64_t _offset;
  283. # 330 "/usr/include/libio.h" 3 4
  284.   void *__pad1;
  285.   void *__pad2;
  286.   void *__pad3;
  287.   void *__pad4;
  288.   size_t __pad5;
  289.  
  290.   int _mode;
  291.  
  292.   char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
  293.  
  294. };
  295.  
  296.  
  297. typedef struct _IO_FILE _IO_FILE;
  298.  
  299.  
  300. struct _IO_FILE_plus;
  301.  
  302. extern struct _IO_FILE_plus _IO_2_1_stdin_;
  303. extern struct _IO_FILE_plus _IO_2_1_stdout_;
  304. extern struct _IO_FILE_plus _IO_2_1_stderr_;
  305. # 366 "/usr/include/libio.h" 3 4
  306. typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314. typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
  315.      size_t __n);
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323. typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
  324.  
  325.  
  326. typedef int __io_close_fn (void *__cookie);
  327. # 418 "/usr/include/libio.h" 3 4
  328. extern int __underflow (_IO_FILE *);
  329. extern int __uflow (_IO_FILE *);
  330. extern int __overflow (_IO_FILE *, int);
  331. # 462 "/usr/include/libio.h" 3 4
  332. extern int _IO_getc (_IO_FILE *__fp);
  333. extern int _IO_putc (int __c, _IO_FILE *__fp);
  334. extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ ));
  335. extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ ));
  336.  
  337. extern int _IO_peekc_locked (_IO_FILE *__fp);
  338.  
  339.  
  340.  
  341.  
  342.  
  343. extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ ));
  344. extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ ));
  345. extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ ));
  346. # 492 "/usr/include/libio.h" 3 4
  347. extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
  348.    __gnuc_va_list, int *__restrict);
  349. extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
  350.     __gnuc_va_list);
  351. extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
  352. extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
  353.  
  354. extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
  355. extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
  356.  
  357. extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ ));
  358. # 76 "/usr/include/stdio.h" 2 3 4
  359.  
  360.  
  361.  
  362.  
  363. typedef __gnuc_va_list va_list;
  364. # 91 "/usr/include/stdio.h" 3 4
  365. typedef __off_t off_t;
  366. # 103 "/usr/include/stdio.h" 3 4
  367. typedef __ssize_t ssize_t;
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375. typedef _G_fpos_t fpos_t;
  376. # 165 "/usr/include/stdio.h" 3 4
  377. # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
  378. # 166 "/usr/include/stdio.h" 2 3 4
  379.  
  380.  
  381.  
  382. extern struct _IO_FILE *stdin;
  383. extern struct _IO_FILE *stdout;
  384. extern struct _IO_FILE *stderr;
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392. extern int remove (__const char *__filename) __attribute__ ((__nothrow__ ));
  393.  
  394. extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__ ));
  395.  
  396.  
  397.  
  398.  
  399. extern int renameat (int __oldfd, __const char *__old, int __newfd,
  400.        __const char *__new) __attribute__ ((__nothrow__ ));
  401. # 196 "/usr/include/stdio.h" 3 4
  402. extern FILE *tmpfile (void) ;
  403. # 210 "/usr/include/stdio.h" 3 4
  404. extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ )) ;
  405.  
  406.  
  407.  
  408.  
  409.  
  410. extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ )) ;
  411. # 228 "/usr/include/stdio.h" 3 4
  412. extern char *tempnam (__const char *__dir, __const char *__pfx)
  413.      __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
  414. # 238 "/usr/include/stdio.h" 3 4
  415. extern int fclose (FILE *__stream);
  416.  
  417.  
  418.  
  419.  
  420. extern int fflush (FILE *__stream);
  421. # 253 "/usr/include/stdio.h" 3 4
  422. extern int fflush_unlocked (FILE *__stream);
  423. # 273 "/usr/include/stdio.h" 3 4
  424. extern FILE *fopen (__const char *__restrict __filename,
  425.       __const char *__restrict __modes) ;
  426.  
  427.  
  428.  
  429.  
  430. extern FILE *freopen (__const char *__restrict __filename,
  431.         __const char *__restrict __modes,
  432.         FILE *__restrict __stream) ;
  433. # 307 "/usr/include/stdio.h" 3 4
  434. extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__ )) ;
  435. # 320 "/usr/include/stdio.h" 3 4
  436. extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
  437.   __attribute__ ((__nothrow__ )) ;
  438.  
  439.  
  440.  
  441.  
  442. extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ )) ;
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449. extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ ));
  450.  
  451.  
  452.  
  453. extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
  454.       int __modes, size_t __n) __attribute__ ((__nothrow__ ));
  455.  
  456.  
  457.  
  458.  
  459.  
  460. extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
  461.          size_t __size) __attribute__ ((__nothrow__ ));
  462.  
  463.  
  464. extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ ));
  465. # 357 "/usr/include/stdio.h" 3 4
  466. extern int fprintf (FILE *__restrict __stream,
  467.       __const char *__restrict __format, ...);
  468.  
  469.  
  470.  
  471.  
  472. extern int printf (__const char *__restrict __format, ...);
  473.  
  474. extern int sprintf (char *__restrict __s,
  475.       __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
  476.  
  477.  
  478.  
  479.  
  480.  
  481. extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
  482.        __gnuc_va_list __arg);
  483.  
  484.  
  485.  
  486.  
  487. extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
  488.  
  489. extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
  490.        __gnuc_va_list __arg) __attribute__ ((__nothrow__));
  491.  
  492.  
  493.  
  494.  
  495.  
  496. extern int snprintf (char *__restrict __s, size_t __maxlen,
  497.        __const char *__restrict __format, ...)
  498.      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
  499.  
  500. extern int vsnprintf (char *__restrict __s, size_t __maxlen,
  501.         __const char *__restrict __format, __gnuc_va_list __arg)
  502.      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
  503. # 418 "/usr/include/stdio.h" 3 4
  504. extern int vdprintf (int __fd, __const char *__restrict __fmt,
  505.        __gnuc_va_list __arg)
  506.      __attribute__ ((__format__ (__printf__, 2, 0)));
  507. extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
  508.      __attribute__ ((__format__ (__printf__, 2, 3)));
  509. # 431 "/usr/include/stdio.h" 3 4
  510. extern int fscanf (FILE *__restrict __stream,
  511.      __const char *__restrict __format, ...) ;
  512.  
  513.  
  514.  
  515.  
  516. extern int scanf (__const char *__restrict __format, ...) ;
  517.  
  518. extern int sscanf (__const char *__restrict __s,
  519.      __const char *__restrict __format, ...) __attribute__ ((__nothrow__ ));
  520. # 449 "/usr/include/stdio.h" 3 4
  521. extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") ;
  522.  
  523.  
  524. extern int scanf (__const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") ;
  525.  
  526. extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ ));
  527. # 477 "/usr/include/stdio.h" 3 4
  528. extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
  529.       __gnuc_va_list __arg)
  530.      __attribute__ ((__format__ (__scanf__, 2, 0))) ;
  531.  
  532.  
  533.  
  534.  
  535.  
  536. extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
  537.      __attribute__ ((__format__ (__scanf__, 1, 0))) ;
  538.  
  539.  
  540. extern int vsscanf (__const char *__restrict __s,
  541.       __const char *__restrict __format, __gnuc_va_list __arg)
  542.      __attribute__ ((__nothrow__ )) __attribute__ ((__format__ (__scanf__, 2, 0)));
  543. # 500 "/usr/include/stdio.h" 3 4
  544. extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf")
  545.  
  546.  
  547.  
  548.      __attribute__ ((__format__ (__scanf__, 2, 0))) ;
  549. extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
  550.  
  551.      __attribute__ ((__format__ (__scanf__, 1, 0))) ;
  552. extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ ))
  553.  
  554.  
  555.  
  556.      __attribute__ ((__format__ (__scanf__, 2, 0)));
  557. # 537 "/usr/include/stdio.h" 3 4
  558. extern int fgetc (FILE *__stream);
  559. extern int getc (FILE *__stream);
  560.  
  561.  
  562.  
  563.  
  564.  
  565. extern int getchar (void);
  566. # 556 "/usr/include/stdio.h" 3 4
  567. extern int getc_unlocked (FILE *__stream);
  568. extern int getchar_unlocked (void);
  569. # 567 "/usr/include/stdio.h" 3 4
  570. extern int fgetc_unlocked (FILE *__stream);
  571. # 579 "/usr/include/stdio.h" 3 4
  572. extern int fputc (int __c, FILE *__stream);
  573. extern int putc (int __c, FILE *__stream);
  574.  
  575.  
  576.  
  577.  
  578.  
  579. extern int putchar (int __c);
  580. # 600 "/usr/include/stdio.h" 3 4
  581. extern int fputc_unlocked (int __c, FILE *__stream);
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589. extern int putc_unlocked (int __c, FILE *__stream);
  590. extern int putchar_unlocked (int __c);
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597. extern int getw (FILE *__stream);
  598.  
  599.  
  600. extern int putw (int __w, FILE *__stream);
  601. # 628 "/usr/include/stdio.h" 3 4
  602. extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
  603.           ;
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610. extern char *gets (char *__s) ;
  611. # 662 "/usr/include/stdio.h" 3 4
  612. extern __ssize_t __getdelim (char **__restrict __lineptr,
  613.           size_t *__restrict __n, int __delimiter,
  614.           FILE *__restrict __stream) ;
  615. extern __ssize_t getdelim (char **__restrict __lineptr,
  616.         size_t *__restrict __n, int __delimiter,
  617.         FILE *__restrict __stream) ;
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625. extern __ssize_t getline (char **__restrict __lineptr,
  626.        size_t *__restrict __n,
  627.        FILE *__restrict __stream) ;
  628. # 686 "/usr/include/stdio.h" 3 4
  629. extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
  630.  
  631.  
  632.  
  633.  
  634.  
  635. extern int puts (__const char *__s);
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642. extern int ungetc (int __c, FILE *__stream);
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649. extern size_t fread (void *__restrict __ptr, size_t __size,
  650.        size_t __n, FILE *__restrict __stream) ;
  651.  
  652.  
  653.  
  654.  
  655. extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
  656.         size_t __n, FILE *__restrict __s) ;
  657. # 734 "/usr/include/stdio.h" 3 4
  658. extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
  659.          size_t __n, FILE *__restrict __stream) ;
  660. extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
  661.           size_t __n, FILE *__restrict __stream) ;
  662. # 746 "/usr/include/stdio.h" 3 4
  663. extern int fseek (FILE *__stream, long int __off, int __whence);
  664.  
  665.  
  666.  
  667.  
  668. extern long int ftell (FILE *__stream) ;
  669.  
  670.  
  671.  
  672.  
  673. extern void rewind (FILE *__stream);
  674. # 770 "/usr/include/stdio.h" 3 4
  675. extern int fseeko (FILE *__stream, __off_t __off, int __whence);
  676.  
  677.  
  678.  
  679.  
  680. extern __off_t ftello (FILE *__stream) ;
  681. # 795 "/usr/include/stdio.h" 3 4
  682. extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
  683.  
  684.  
  685.  
  686.  
  687. extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
  688. # 823 "/usr/include/stdio.h" 3 4
  689. extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ ));
  690.  
  691. extern int feof (FILE *__stream) __attribute__ ((__nothrow__ )) ;
  692.  
  693. extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ )) ;
  694.  
  695.  
  696.  
  697.  
  698. extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ ));
  699. extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ )) ;
  700. extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ )) ;
  701. # 843 "/usr/include/stdio.h" 3 4
  702. extern void perror (__const char *__s);
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710. # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
  711. # 27 "/usr/include/bits/sys_errlist.h" 3 4
  712. extern int sys_nerr;
  713. extern __const char *__const sys_errlist[];
  714. # 851 "/usr/include/stdio.h" 2 3 4
  715.  
  716.  
  717.  
  718.  
  719. extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ )) ;
  720.  
  721.  
  722.  
  723.  
  724. extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ )) ;
  725. # 870 "/usr/include/stdio.h" 3 4
  726. extern FILE *popen (__const char *__command, __const char *__modes) ;
  727.  
  728.  
  729.  
  730.  
  731.  
  732. extern int pclose (FILE *__stream);
  733.  
  734.  
  735.  
  736.  
  737.  
  738. extern char *ctermid (char *__s) __attribute__ ((__nothrow__ ));
  739. # 910 "/usr/include/stdio.h" 3 4
  740. extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ ));
  741.  
  742.  
  743.  
  744. extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ )) ;
  745.  
  746.  
  747. extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ ));
  748. # 2 "fail.c" 2
  749. # 1 "/usr/include/stdlib.h" 1 3 4
  750. # 33 "/usr/include/stdlib.h" 3 4
  751. # 1 "/usr/bin/../lib/clang/3.0/include/stddef.h" 1 3 4
  752. # 34 "/usr/include/stdlib.h" 2 3 4
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761. # 1 "/usr/include/bits/waitflags.h" 1 3 4
  762. # 43 "/usr/include/stdlib.h" 2 3 4
  763. # 1 "/usr/include/bits/waitstatus.h" 1 3 4
  764. # 65 "/usr/include/bits/waitstatus.h" 3 4
  765. # 1 "/usr/include/endian.h" 1 3 4
  766. # 37 "/usr/include/endian.h" 3 4
  767. # 1 "/usr/include/bits/endian.h" 1 3 4
  768. # 38 "/usr/include/endian.h" 2 3 4
  769. # 61 "/usr/include/endian.h" 3 4
  770. # 1 "/usr/include/bits/byteswap.h" 1 3 4
  771. # 28 "/usr/include/bits/byteswap.h" 3 4
  772. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  773. # 29 "/usr/include/bits/byteswap.h" 2 3 4
  774. # 62 "/usr/include/endian.h" 2 3 4
  775. # 66 "/usr/include/bits/waitstatus.h" 2 3 4
  776.  
  777. union wait
  778.   {
  779.     int w_status;
  780.     struct
  781.       {
  782.  
  783.  unsigned int __w_termsig:7;
  784.  unsigned int __w_coredump:1;
  785.  unsigned int __w_retcode:8;
  786.  unsigned int:16;
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.       } __wait_terminated;
  795.     struct
  796.       {
  797.  
  798.  unsigned int __w_stopval:8;
  799.  unsigned int __w_stopsig:8;
  800.  unsigned int:16;
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.       } __wait_stopped;
  808.   };
  809. # 44 "/usr/include/stdlib.h" 2 3 4
  810. # 68 "/usr/include/stdlib.h" 3 4
  811. typedef union
  812.   {
  813.     union wait *__uptr;
  814.     int *__iptr;
  815.   } __WAIT_STATUS __attribute__ ((__transparent_union__));
  816. # 98 "/usr/include/stdlib.h" 3 4
  817. typedef struct
  818.   {
  819.     int quot;
  820.     int rem;
  821.   } div_t;
  822.  
  823.  
  824.  
  825. typedef struct
  826.   {
  827.     long int quot;
  828.     long int rem;
  829.   } ldiv_t;
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837. __extension__ typedef struct
  838.   {
  839.     long long int quot;
  840.     long long int rem;
  841.   } lldiv_t;
  842. # 140 "/usr/include/stdlib.h" 3 4
  843. extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ )) ;
  844.  
  845.  
  846.  
  847.  
  848. extern double atof (__const char *__nptr)
  849.      __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
  850.  
  851. extern int atoi (__const char *__nptr)
  852.      __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
  853.  
  854. extern long int atol (__const char *__nptr)
  855.      __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
  856.  
  857.  
  858.  
  859.  
  860.  
  861. __extension__ extern long long int atoll (__const char *__nptr)
  862.      __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
  863.  
  864.  
  865.  
  866.  
  867.  
  868. extern double strtod (__const char *__restrict __nptr,
  869.         char **__restrict __endptr)
  870.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  871.  
  872.  
  873.  
  874.  
  875.  
  876. extern float strtof (__const char *__restrict __nptr,
  877.        char **__restrict __endptr) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  878.  
  879. extern long double strtold (__const char *__restrict __nptr,
  880.        char **__restrict __endptr)
  881.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  882.  
  883.  
  884.  
  885.  
  886.  
  887. extern long int strtol (__const char *__restrict __nptr,
  888.    char **__restrict __endptr, int __base)
  889.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  890.  
  891. extern unsigned long int strtoul (__const char *__restrict __nptr,
  892.       char **__restrict __endptr, int __base)
  893.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  894.  
  895.  
  896.  
  897.  
  898. __extension__
  899. extern long long int strtoq (__const char *__restrict __nptr,
  900.         char **__restrict __endptr, int __base)
  901.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  902.  
  903. __extension__
  904. extern unsigned long long int strtouq (__const char *__restrict __nptr,
  905.            char **__restrict __endptr, int __base)
  906.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  907.  
  908.  
  909.  
  910.  
  911.  
  912. __extension__
  913. extern long long int strtoll (__const char *__restrict __nptr,
  914.          char **__restrict __endptr, int __base)
  915.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  916.  
  917. __extension__
  918. extern unsigned long long int strtoull (__const char *__restrict __nptr,
  919.      char **__restrict __endptr, int __base)
  920.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  921. # 311 "/usr/include/stdlib.h" 3 4
  922. extern char *l64a (long int __n) __attribute__ ((__nothrow__ )) ;
  923.  
  924.  
  925. extern long int a64l (__const char *__s)
  926.      __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
  927.  
  928.  
  929.  
  930.  
  931.  
  932. # 1 "/usr/include/sys/types.h" 1 3 4
  933. # 34 "/usr/include/sys/types.h" 3 4
  934. typedef __u_char u_char;
  935. typedef __u_short u_short;
  936. typedef __u_int u_int;
  937. typedef __u_long u_long;
  938. typedef __quad_t quad_t;
  939. typedef __u_quad_t u_quad_t;
  940. typedef __fsid_t fsid_t;
  941.  
  942.  
  943.  
  944.  
  945. typedef __loff_t loff_t;
  946.  
  947.  
  948.  
  949. typedef __ino_t ino_t;
  950. # 61 "/usr/include/sys/types.h" 3 4
  951. typedef __dev_t dev_t;
  952.  
  953.  
  954.  
  955.  
  956. typedef __gid_t gid_t;
  957.  
  958.  
  959.  
  960.  
  961. typedef __mode_t mode_t;
  962.  
  963.  
  964.  
  965.  
  966. typedef __nlink_t nlink_t;
  967.  
  968.  
  969.  
  970.  
  971. typedef __uid_t uid_t;
  972. # 99 "/usr/include/sys/types.h" 3 4
  973. typedef __pid_t pid_t;
  974.  
  975.  
  976.  
  977.  
  978.  
  979. typedef __id_t id_t;
  980. # 116 "/usr/include/sys/types.h" 3 4
  981. typedef __daddr_t daddr_t;
  982. typedef __caddr_t caddr_t;
  983.  
  984.  
  985.  
  986.  
  987.  
  988. typedef __key_t key_t;
  989. # 133 "/usr/include/sys/types.h" 3 4
  990. # 1 "/usr/include/time.h" 1 3 4
  991. # 60 "/usr/include/time.h" 3 4
  992. typedef __clock_t clock_t;
  993. # 76 "/usr/include/time.h" 3 4
  994. typedef __time_t time_t;
  995. # 92 "/usr/include/time.h" 3 4
  996. typedef __clockid_t clockid_t;
  997. # 104 "/usr/include/time.h" 3 4
  998. typedef __timer_t timer_t;
  999. # 134 "/usr/include/sys/types.h" 2 3 4
  1000. # 147 "/usr/include/sys/types.h" 3 4
  1001. # 1 "/usr/bin/../lib/clang/3.0/include/stddef.h" 1 3 4
  1002. # 148 "/usr/include/sys/types.h" 2 3 4
  1003.  
  1004.  
  1005.  
  1006. typedef unsigned long int ulong;
  1007. typedef unsigned short int ushort;
  1008. typedef unsigned int uint;
  1009. # 195 "/usr/include/sys/types.h" 3 4
  1010. typedef int int8_t __attribute__ ((__mode__ (__QI__)));
  1011. typedef int int16_t __attribute__ ((__mode__ (__HI__)));
  1012. typedef int int32_t __attribute__ ((__mode__ (__SI__)));
  1013. typedef int int64_t __attribute__ ((__mode__ (__DI__)));
  1014.  
  1015.  
  1016. typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
  1017. typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
  1018. typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
  1019. typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
  1020.  
  1021. typedef int register_t __attribute__ ((__mode__ (__word__)));
  1022. # 220 "/usr/include/sys/types.h" 3 4
  1023. # 1 "/usr/include/sys/select.h" 1 3 4
  1024. # 31 "/usr/include/sys/select.h" 3 4
  1025. # 1 "/usr/include/bits/select.h" 1 3 4
  1026. # 23 "/usr/include/bits/select.h" 3 4
  1027. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  1028. # 24 "/usr/include/bits/select.h" 2 3 4
  1029. # 32 "/usr/include/sys/select.h" 2 3 4
  1030.  
  1031.  
  1032. # 1 "/usr/include/bits/sigset.h" 1 3 4
  1033. # 24 "/usr/include/bits/sigset.h" 3 4
  1034. typedef int __sig_atomic_t;
  1035.  
  1036.  
  1037.  
  1038.  
  1039. typedef struct
  1040.   {
  1041.     unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
  1042.   } __sigset_t;
  1043. # 35 "/usr/include/sys/select.h" 2 3 4
  1044.  
  1045.  
  1046.  
  1047. typedef __sigset_t sigset_t;
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054. # 1 "/usr/include/time.h" 1 3 4
  1055. # 120 "/usr/include/time.h" 3 4
  1056. struct timespec
  1057.   {
  1058.     __time_t tv_sec;
  1059.     long int tv_nsec;
  1060.   };
  1061. # 45 "/usr/include/sys/select.h" 2 3 4
  1062.  
  1063. # 1 "/usr/include/bits/time.h" 1 3 4
  1064. # 31 "/usr/include/bits/time.h" 3 4
  1065. struct timeval
  1066.   {
  1067.     __time_t tv_sec;
  1068.     __suseconds_t tv_usec;
  1069.   };
  1070. # 47 "/usr/include/sys/select.h" 2 3 4
  1071.  
  1072.  
  1073. typedef __suseconds_t suseconds_t;
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079. typedef long int __fd_mask;
  1080. # 65 "/usr/include/sys/select.h" 3 4
  1081. typedef struct
  1082.   {
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.     __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
  1090.  
  1091.  
  1092.   } fd_set;
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099. typedef __fd_mask fd_mask;
  1100. # 107 "/usr/include/sys/select.h" 3 4
  1101. extern int select (int __nfds, fd_set *__restrict __readfds,
  1102.      fd_set *__restrict __writefds,
  1103.      fd_set *__restrict __exceptfds,
  1104.      struct timeval *__restrict __timeout);
  1105. # 119 "/usr/include/sys/select.h" 3 4
  1106. extern int pselect (int __nfds, fd_set *__restrict __readfds,
  1107.       fd_set *__restrict __writefds,
  1108.       fd_set *__restrict __exceptfds,
  1109.       const struct timespec *__restrict __timeout,
  1110.       const __sigset_t *__restrict __sigmask);
  1111. # 221 "/usr/include/sys/types.h" 2 3 4
  1112.  
  1113.  
  1114. # 1 "/usr/include/sys/sysmacros.h" 1 3 4
  1115. # 32 "/usr/include/sys/sysmacros.h" 3 4
  1116. __extension__
  1117. extern unsigned int gnu_dev_major (unsigned long long int __dev)
  1118.      __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
  1119. __extension__
  1120. extern unsigned int gnu_dev_minor (unsigned long long int __dev)
  1121.      __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
  1122. __extension__
  1123. extern unsigned long long int gnu_dev_makedev (unsigned int __major,
  1124.             unsigned int __minor)
  1125.      __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
  1126. # 224 "/usr/include/sys/types.h" 2 3 4
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132. typedef __blksize_t blksize_t;
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139. typedef __blkcnt_t blkcnt_t;
  1140.  
  1141.  
  1142.  
  1143. typedef __fsblkcnt_t fsblkcnt_t;
  1144.  
  1145.  
  1146.  
  1147. typedef __fsfilcnt_t fsfilcnt_t;
  1148. # 271 "/usr/include/sys/types.h" 3 4
  1149. # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
  1150. # 23 "/usr/include/bits/pthreadtypes.h" 3 4
  1151. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  1152. # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
  1153. # 50 "/usr/include/bits/pthreadtypes.h" 3 4
  1154. typedef unsigned long int pthread_t;
  1155.  
  1156.  
  1157. typedef union
  1158. {
  1159.   char __size[56];
  1160.   long int __align;
  1161. } pthread_attr_t;
  1162.  
  1163.  
  1164.  
  1165. typedef struct __pthread_internal_list
  1166. {
  1167.   struct __pthread_internal_list *__prev;
  1168.   struct __pthread_internal_list *__next;
  1169. } __pthread_list_t;
  1170. # 76 "/usr/include/bits/pthreadtypes.h" 3 4
  1171. typedef union
  1172. {
  1173.   struct __pthread_mutex_s
  1174.   {
  1175.     int __lock;
  1176.     unsigned int __count;
  1177.     int __owner;
  1178.  
  1179.     unsigned int __nusers;
  1180.  
  1181.  
  1182.  
  1183.     int __kind;
  1184.  
  1185.     int __spins;
  1186.     __pthread_list_t __list;
  1187. # 101 "/usr/include/bits/pthreadtypes.h" 3 4
  1188.   } __data;
  1189.   char __size[40];
  1190.   long int __align;
  1191. } pthread_mutex_t;
  1192.  
  1193. typedef union
  1194. {
  1195.   char __size[4];
  1196.   int __align;
  1197. } pthread_mutexattr_t;
  1198.  
  1199.  
  1200.  
  1201.  
  1202. typedef union
  1203. {
  1204.   struct
  1205.   {
  1206.     int __lock;
  1207.     unsigned int __futex;
  1208.     __extension__ unsigned long long int __total_seq;
  1209.     __extension__ unsigned long long int __wakeup_seq;
  1210.     __extension__ unsigned long long int __woken_seq;
  1211.     void *__mutex;
  1212.     unsigned int __nwaiters;
  1213.     unsigned int __broadcast_seq;
  1214.   } __data;
  1215.   char __size[48];
  1216.   __extension__ long long int __align;
  1217. } pthread_cond_t;
  1218.  
  1219. typedef union
  1220. {
  1221.   char __size[4];
  1222.   int __align;
  1223. } pthread_condattr_t;
  1224.  
  1225.  
  1226.  
  1227. typedef unsigned int pthread_key_t;
  1228.  
  1229.  
  1230.  
  1231. typedef int pthread_once_t;
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237. typedef union
  1238. {
  1239.  
  1240.   struct
  1241.   {
  1242.     int __lock;
  1243.     unsigned int __nr_readers;
  1244.     unsigned int __readers_wakeup;
  1245.     unsigned int __writer_wakeup;
  1246.     unsigned int __nr_readers_queued;
  1247.     unsigned int __nr_writers_queued;
  1248.     int __writer;
  1249.     int __shared;
  1250.     unsigned long int __pad1;
  1251.     unsigned long int __pad2;
  1252.  
  1253.  
  1254.     unsigned int __flags;
  1255.   } __data;
  1256. # 187 "/usr/include/bits/pthreadtypes.h" 3 4
  1257.   char __size[56];
  1258.   long int __align;
  1259. } pthread_rwlock_t;
  1260.  
  1261. typedef union
  1262. {
  1263.   char __size[8];
  1264.   long int __align;
  1265. } pthread_rwlockattr_t;
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271. typedef volatile int pthread_spinlock_t;
  1272.  
  1273.  
  1274.  
  1275.  
  1276. typedef union
  1277. {
  1278.   char __size[32];
  1279.   long int __align;
  1280. } pthread_barrier_t;
  1281.  
  1282. typedef union
  1283. {
  1284.   char __size[4];
  1285.   int __align;
  1286. } pthread_barrierattr_t;
  1287. # 272 "/usr/include/sys/types.h" 2 3 4
  1288. # 321 "/usr/include/stdlib.h" 2 3 4
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295. extern long int random (void) __attribute__ ((__nothrow__ ));
  1296.  
  1297.  
  1298. extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ ));
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304. extern char *initstate (unsigned int __seed, char *__statebuf,
  1305.    size_t __statelen) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2)));
  1306.  
  1307.  
  1308.  
  1309. extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317. struct random_data
  1318.   {
  1319.     int32_t *fptr;
  1320.     int32_t *rptr;
  1321.     int32_t *state;
  1322.     int rand_type;
  1323.     int rand_deg;
  1324.     int rand_sep;
  1325.     int32_t *end_ptr;
  1326.   };
  1327.  
  1328. extern int random_r (struct random_data *__restrict __buf,
  1329.        int32_t *__restrict __result) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
  1330.  
  1331. extern int srandom_r (unsigned int __seed, struct random_data *__buf)
  1332.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2)));
  1333.  
  1334. extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
  1335.    size_t __statelen,
  1336.    struct random_data *__restrict __buf)
  1337.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2, 4)));
  1338.  
  1339. extern int setstate_r (char *__restrict __statebuf,
  1340.          struct random_data *__restrict __buf)
  1341.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348. extern int rand (void) __attribute__ ((__nothrow__ ));
  1349.  
  1350. extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ ));
  1351.  
  1352.  
  1353.  
  1354.  
  1355. extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ ));
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363. extern double drand48 (void) __attribute__ ((__nothrow__ ));
  1364. extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1365.  
  1366.  
  1367. extern long int lrand48 (void) __attribute__ ((__nothrow__ ));
  1368. extern long int nrand48 (unsigned short int __xsubi[3])
  1369.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1370.  
  1371.  
  1372. extern long int mrand48 (void) __attribute__ ((__nothrow__ ));
  1373. extern long int jrand48 (unsigned short int __xsubi[3])
  1374.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1375.  
  1376.  
  1377. extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ ));
  1378. extern unsigned short int *seed48 (unsigned short int __seed16v[3])
  1379.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1380. extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386. struct drand48_data
  1387.   {
  1388.     unsigned short int __x[3];
  1389.     unsigned short int __old_x[3];
  1390.     unsigned short int __c;
  1391.     unsigned short int __init;
  1392.     unsigned long long int __a;
  1393.   };
  1394.  
  1395.  
  1396. extern int drand48_r (struct drand48_data *__restrict __buffer,
  1397.         double *__restrict __result) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
  1398. extern int erand48_r (unsigned short int __xsubi[3],
  1399.         struct drand48_data *__restrict __buffer,
  1400.         double *__restrict __result) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
  1401.  
  1402.  
  1403. extern int lrand48_r (struct drand48_data *__restrict __buffer,
  1404.         long int *__restrict __result)
  1405.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
  1406. extern int nrand48_r (unsigned short int __xsubi[3],
  1407.         struct drand48_data *__restrict __buffer,
  1408.         long int *__restrict __result)
  1409.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
  1410.  
  1411.  
  1412. extern int mrand48_r (struct drand48_data *__restrict __buffer,
  1413.         long int *__restrict __result)
  1414.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
  1415. extern int jrand48_r (unsigned short int __xsubi[3],
  1416.         struct drand48_data *__restrict __buffer,
  1417.         long int *__restrict __result)
  1418.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
  1419.  
  1420.  
  1421. extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
  1422.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2)));
  1423.  
  1424. extern int seed48_r (unsigned short int __seed16v[3],
  1425.        struct drand48_data *__buffer) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
  1426.  
  1427. extern int lcong48_r (unsigned short int __param[7],
  1428.         struct drand48_data *__buffer)
  1429.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2)));
  1430. # 471 "/usr/include/stdlib.h" 3 4
  1431. extern void *malloc (size_t __size) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
  1432.  
  1433. extern void *calloc (size_t __nmemb, size_t __size)
  1434.      __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
  1435. # 485 "/usr/include/stdlib.h" 3 4
  1436. extern void *realloc (void *__ptr, size_t __size)
  1437.      __attribute__ ((__nothrow__ )) __attribute__ ((__warn_unused_result__));
  1438.  
  1439. extern void free (void *__ptr) __attribute__ ((__nothrow__ ));
  1440.  
  1441.  
  1442.  
  1443.  
  1444. extern void cfree (void *__ptr) __attribute__ ((__nothrow__ ));
  1445.  
  1446.  
  1447.  
  1448.  
  1449. # 1 "/usr/include/alloca.h" 1 3 4
  1450. # 25 "/usr/include/alloca.h" 3 4
  1451. # 1 "/usr/bin/../lib/clang/3.0/include/stddef.h" 1 3 4
  1452. # 26 "/usr/include/alloca.h" 2 3 4
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460. extern void *alloca (size_t __size) __attribute__ ((__nothrow__ ));
  1461. # 498 "/usr/include/stdlib.h" 2 3 4
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467. extern void *valloc (size_t __size) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
  1468.  
  1469.  
  1470.  
  1471.  
  1472. extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
  1473.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  1474.  
  1475.  
  1476.  
  1477.  
  1478. extern void abort (void) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
  1479.  
  1480.  
  1481.  
  1482. extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1483. # 536 "/usr/include/stdlib.h" 3 4
  1484. extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
  1485.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492. extern void exit (int __status) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
  1493. # 560 "/usr/include/stdlib.h" 3 4
  1494. extern void _Exit (int __status) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501. extern char *getenv (__const char *__name) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  1502.  
  1503.  
  1504.  
  1505.  
  1506. extern char *__secure_getenv (__const char *__name)
  1507.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513. extern int putenv (char *__string) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519. extern int setenv (__const char *__name, __const char *__value, int __replace)
  1520.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (2)));
  1521.  
  1522.  
  1523. extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530. extern int clearenv (void) __attribute__ ((__nothrow__ ));
  1531. # 606 "/usr/include/stdlib.h" 3 4
  1532. extern char *mktemp (char *__template) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  1533. # 620 "/usr/include/stdlib.h" 3 4
  1534. extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
  1535. # 642 "/usr/include/stdlib.h" 3 4
  1536. extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ;
  1537. # 663 "/usr/include/stdlib.h" 3 4
  1538. extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  1539. # 717 "/usr/include/stdlib.h" 3 4
  1540. extern int system (__const char *__command) ;
  1541. # 734 "/usr/include/stdlib.h" 3 4
  1542. extern char *realpath (__const char *__restrict __name,
  1543.          char *__restrict __resolved) __attribute__ ((__nothrow__ )) ;
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550. typedef int (*__compar_fn_t) (__const void *, __const void *);
  1551. # 755 "/usr/include/stdlib.h" 3 4
  1552. extern void *bsearch (__const void *__key, __const void *__base,
  1553.         size_t __nmemb, size_t __size, __compar_fn_t __compar)
  1554.      __attribute__ ((__nonnull__ (1, 2, 5))) ;
  1555.  
  1556.  
  1557.  
  1558. extern void qsort (void *__base, size_t __nmemb, size_t __size,
  1559.      __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
  1560. # 771 "/usr/include/stdlib.h" 3 4
  1561. extern int abs (int __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
  1562. extern long int labs (long int __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
  1563.  
  1564.  
  1565.  
  1566. __extension__ extern long long int llabs (long long int __x)
  1567.      __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575. extern div_t div (int __numer, int __denom)
  1576.      __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
  1577. extern ldiv_t ldiv (long int __numer, long int __denom)
  1578.      __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
  1579.  
  1580.  
  1581.  
  1582.  
  1583. __extension__ extern lldiv_t lldiv (long long int __numer,
  1584.         long long int __denom)
  1585.      __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
  1586. # 808 "/usr/include/stdlib.h" 3 4
  1587. extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
  1588.      int *__restrict __sign) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (3, 4))) ;
  1589.  
  1590.  
  1591.  
  1592.  
  1593. extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
  1594.      int *__restrict __sign) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (3, 4))) ;
  1595.  
  1596.  
  1597.  
  1598.  
  1599. extern char *gcvt (double __value, int __ndigit, char *__buf)
  1600.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (3))) ;
  1601.  
  1602.  
  1603.  
  1604.  
  1605. extern char *qecvt (long double __value, int __ndigit,
  1606.       int *__restrict __decpt, int *__restrict __sign)
  1607.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (3, 4))) ;
  1608. extern char *qfcvt (long double __value, int __ndigit,
  1609.       int *__restrict __decpt, int *__restrict __sign)
  1610.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (3, 4))) ;
  1611. extern char *qgcvt (long double __value, int __ndigit, char *__buf)
  1612.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (3))) ;
  1613.  
  1614.  
  1615.  
  1616.  
  1617. extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
  1618.      int *__restrict __sign, char *__restrict __buf,
  1619.      size_t __len) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (3, 4, 5)));
  1620. extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
  1621.      int *__restrict __sign, char *__restrict __buf,
  1622.      size_t __len) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (3, 4, 5)));
  1623.  
  1624. extern int qecvt_r (long double __value, int __ndigit,
  1625.       int *__restrict __decpt, int *__restrict __sign,
  1626.       char *__restrict __buf, size_t __len)
  1627.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (3, 4, 5)));
  1628. extern int qfcvt_r (long double __value, int __ndigit,
  1629.       int *__restrict __decpt, int *__restrict __sign,
  1630.       char *__restrict __buf, size_t __len)
  1631.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (3, 4, 5)));
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639. extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__ )) ;
  1640.  
  1641.  
  1642. extern int mbtowc (wchar_t *__restrict __pwc,
  1643.      __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ )) ;
  1644.  
  1645.  
  1646. extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ )) ;
  1647.  
  1648.  
  1649.  
  1650. extern size_t mbstowcs (wchar_t *__restrict __pwcs,
  1651.    __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ ));
  1652.  
  1653. extern size_t wcstombs (char *__restrict __s,
  1654.    __const wchar_t *__restrict __pwcs, size_t __n)
  1655.      __attribute__ ((__nothrow__ ));
  1656. # 885 "/usr/include/stdlib.h" 3 4
  1657. extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1))) ;
  1658. # 896 "/usr/include/stdlib.h" 3 4
  1659. extern int getsubopt (char **__restrict __optionp,
  1660.         char *__const *__restrict __tokens,
  1661.         char **__restrict __valuep)
  1662.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1, 2, 3))) ;
  1663. # 948 "/usr/include/stdlib.h" 3 4
  1664. extern int getloadavg (double __loadavg[], int __nelem)
  1665.      __attribute__ ((__nothrow__ )) __attribute__ ((__nonnull__ (1)));
  1666. # 3 "fail.c" 2
  1667.  
  1668. int a = 1;
  1669. int b = 2;
  1670.  
  1671. int main() {
  1672.  int sum;
  1673.  char *c;
  1674.  c = malloc(sizeof(char)*12);
  1675.  scanf("%s", &c);
  1676.  printf("%s", c);
  1677.  sum = a + b;
  1678.  printf("%d + %d = %d\n", a, b,sum);
  1679. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement