This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
if (!(expr)) \
{ \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
if (!(expr)) \
{ \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
/* Test move beyond end of file. */
ASSERT (freadseek (stdin, 1000000) == 0);
ASSERT (fgetc (stdin) == EOF);
ASSERT (!ferror (stdin));
/* Test move beyond end of file. */
ASSERT (freadseek (stdin, 1000000) == 0);
ASSERT (fgetc (stdin) == EOF);
ASSERT (!ferror (stdin));