diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-03-22 18:00:25 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-03-22 18:00:25 +0100 |
commit | 0737819efdd0bae112d16d874cac7e747e43cd08 (patch) | |
tree | 98a9ac84f7f347ae530c14852c68870682f3d04c /tests/test-intprops.c | |
parent | 163a663518f33bab48b28431972e580b366b4d49 (diff) | |
parent | e670957a8693f860cf7d77fed4ce6b4b056a8083 (diff) |
Merge branch 'release/debian/1.3-1'debian/1.3-1
Diffstat (limited to 'tests/test-intprops.c')
-rw-r--r-- | tests/test-intprops.c | 9 |
1 files changed, 5 insertions, 4 deletions
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 <config.h> + +#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 <config.h> - #ifdef TEST_STDCKDINT # include <stdckdint.h> #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; } |