]> Savannah Git Hosting - gnulib.git/commitdiff
verify tests: Fix compilation error with MSVC (regression 2020-10-30).
authorBruno Haible <bruno@clisp.org>
Mon, 2 Nov 2020 00:31:09 +0000 (01:31 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 2 Nov 2020 00:33:56 +0000 (01:33 +0100)
* tests/test-verify.c (test_assume_noreturn): Fix declaration.

ChangeLog
tests/test-verify.c

index 4c69371817ab2ce7dec485c8885bf607ab003d42..db0eb173ae928eb50162dce6d6f6c23c1b9ee636 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-11-01  Bruno Haible  <bruno@clisp.org>
+
+       verify tests: Fix compilation error with MSVC (regression 2020-10-30).
+       * tests/test-verify.c (test_assume_noreturn): Fix declaration.
+
 2020-11-01  Jim Meyering  <meyering@fb.com>
 
        dfa-tests: test for today's invalid-merge fix
index 1ed78c930b4d955054097d6bc9b6e8f45c607ed7..0429a190831b1c2c99fb56e342f8d3ac56e65552 100644 (file)
@@ -76,7 +76,7 @@ typedef struct { unsigned int context : 4; unsigned int halt : 1; } state;
 
 void test_assume_expressions (state *s);
 int test_assume_optimization (int x);
-void test_assume_noreturn (void);
+_Noreturn void test_assume_noreturn (void);
 
 void
 test_assume_expressions (state *s)