From 4682deeb62247d34de87f8e777f99e2d337fd377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 20 Oct 2024 15:21:43 +0200 Subject: New upstream version 1.3 --- tests/test-intprops.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/test-intprops.c') diff --git a/tests/test-intprops.c b/tests/test-intprops.c index e0d63d47..3bffc3f5 100644 --- a/tests/test-intprops.c +++ b/tests/test-intprops.c @@ -16,9 +16,12 @@ /* Written by Paul Eggert. */ +#include + +#if _GL_GNUC_PREREQ (4, 3) + /* Tell gcc not to warn about the long expressions that the overflow macros expand to, or about the (X < 0) expressions. */ -#if 4 < __GNUC__ + (3 <= __GNUC_MINOR__) # pragma GCC diagnostic ignored "-Woverlength-strings" # pragma GCC diagnostic ignored "-Wtype-limits" @@ -28,8 +31,6 @@ #endif -#include - #ifdef TEST_STDCKDINT # include #else @@ -444,5 +445,5 @@ main (void) CHECK_REMAINDER (37*39u - 1, -39, true); CHECK_REMAINDER (LONG_MAX, -INT_MAX, false); - return 0; + return test_exit_status; } -- cgit v1.2.3