summaryrefslogtreecommitdiff
path: root/tests/test-localename.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-localename.c')
-rw-r--r--tests/test-localename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-localename.c b/tests/test-localename.c
index 03b70527..beb976ac 100644
--- a/tests/test-localename.c
+++ b/tests/test-localename.c
@@ -36,7 +36,7 @@
#endif
/* Suppress GCC false positive. */
-#if __GNUC__ >= 12
+#if _GL_GNUC_PREREQ (12, 0)
# pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value"
#endif
@@ -838,5 +838,5 @@ main ()
test_locale_name_environ ();
test_locale_name_default ();
- return 0;
+ return test_exit_status;
}