bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* noreturn tests: Avoid test failure on Solaris 10/x86 with cc
@ 2021-01-18 19:18 Bruno Haible
  0 siblings, 0 replies; only message in thread
From: Bruno Haible @ 2021-01-18 19:18 UTC (permalink / raw)
  To: bug-gnulib

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  <bruno@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;
 }



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-18 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18 19:18 noreturn tests: Avoid test failure on Solaris 10/x86 with cc Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).