Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr25310.c
blob71081d821112265a221ea67e54270a969f87c0d3
2 /* Prevent spurious test failures on 16-bit targets. */
3 #if __INT_MAX__ >= 2147483647L
5 extern int f (char *, int);
7 void test (void)
9 char buffer[65536];
10 char *bufptr;
11 char *bufend;
12 int bytes;
14 bufptr = buffer;
15 bufend = buffer + sizeof(buffer) - 1;
17 while ((bytes = f (bufptr, bufend - bufptr)) > 0)
18 bufptr += bytes;
21 #endif