On Solaris 10/x86 (32-bit) with cc, I see this test failure:

  FAIL test-noreturn (exit status: 76)

This patch fixes it.


2021-01-18  Bruno Haible  <br...@clisp.org>

        noreturn tests: Avoid test failure on Solaris 10/x86 with cc.
        * tests/test-noreturn.c (main): Return 0.

diff --git a/tests/test-noreturn.c b/tests/test-noreturn.c
index 3f3f994..21cb6fc 100644
--- a/tests/test-noreturn.c
+++ b/tests/test-noreturn.c
@@ -65,4 +65,5 @@ void func3 (void)
 int
 main ()
 {
+  return 0;
 }


Reply via email to