Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/testsuite/newlib.stdlib/size_max.c')
-rw-r--r--newlib/testsuite/newlib.stdlib/size_max.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/newlib/testsuite/newlib.stdlib/size_max.c b/newlib/testsuite/newlib.stdlib/size_max.c
deleted file mode 100644
index d163e27d1..000000000
--- a/newlib/testsuite/newlib.stdlib/size_max.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <stddef.h>
-#include <stdint.h>
-#include <stdlib.h>
-
-int main () {
- size_t s;
-
- s = SIZE_MAX;
- /* If SIZE_MAX is truncated when assigning to "s", then SIZE_MAX is
- too big. */
- if (s != SIZE_MAX)
- abort ();
- /* If SIZE_MAX + 1 is not zero, then SIZE_MAX is not big enough. */
- if (++s != 0)
- abort ();
-
- return 0;
-}