testsuite: Skip analyzer tests on AIX.
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / errno-pr107777.c
blob65687393657b48f68a779ea44d4d7958ab39ce31
1 int *
2 __errno_location (void);
4 long int
5 read (int, void *, unsigned long int);
7 struct IOBUF {
8 int fd;
9 };
11 void
12 do_getline_end_data (struct IOBUF *iop, int tree)
14 char end_data;
16 if (tree)
17 *__errno_location () = 0;
19 read (iop->fd, &end_data, sizeof end_data);