summaryrefslogtreecommitdiff
path: root/tests/test-setlocale_null-mt-all.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-setlocale_null-mt-all.c')
-rw-r--r--tests/test-setlocale_null-mt-all.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-setlocale_null-mt-all.c b/tests/test-setlocale_null-mt-all.c
index 6dbf4766c6..81f542837e 100644
--- a/tests/test-setlocale_null-mt-all.c
+++ b/tests/test-setlocale_null-mt-all.c
@@ -18,6 +18,11 @@
#include <config.h>
+/* Work around GCC bug 44511. */
+#if 4 < __GNUC__ + (3 <= __GNUC_MINOR__)
+# pragma GCC diagnostic ignored "-Wreturn-type"
+#endif
+
#if USE_ISOC_THREADS || USE_POSIX_THREADS || USE_ISOC_AND_POSIX_THREADS || USE_WINDOWS_THREADS
/* Specification. */