]> Savannah Git Hosting - gnulib.git/commitdiff
noreturn tests: Avoid test failure on Solaris 10/x86 with cc.
authorBruno Haible <bruno@clisp.org>
Mon, 18 Jan 2021 14:13:17 +0000 (15:13 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 18 Jan 2021 19:17:54 +0000 (20:17 +0100)
* tests/test-noreturn.c (main): Return 0.

ChangeLog
tests/test-noreturn.c

index a7a0650fefe7e941544f3c0ce20c3c4d68b73585..f2e21a4689845b517388c079f57b86008623656f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 2021-01-18  Bruno Haible  <bruno@clisp.org>
 
        uninorm tests: Fix compilation error on Cygwin.
index 3f3f9946154608a599bfc6589f4315059c858f5b..21cb6fc49ec5c0113cb896caaa430c2d51a0b3a5 100644 (file)
@@ -65,4 +65,5 @@ void func3 (void)
 int
 main ()
 {
+  return 0;
 }