bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] stdbool-tests: match stdbool


From: Paul Eggert
Subject: [PATCH] stdbool-tests: match stdbool
Date: Thu, 8 Sep 2022 23:50:23 -0500

* tests/test-stdbool.c: Omit test for
__bool_true_false_are_defined since AC_CHECK_HEADER_STDBOOL no
longer checks for this obsolescent macro.
---
 ChangeLog            | 5 +++++
 tests/test-stdbool.c | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index d7df9b16aa..99b476be6e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2022-09-08  Paul Eggert  <eggert@cs.ucla.edu>
 
+       stdbool-tests: match stdbool
+       * tests/test-stdbool.c: Omit test for
+       __bool_true_false_are_defined since AC_CHECK_HEADER_STDBOOL no
+       longer checks for this obsolescent macro.
+
        mktime: back in sync with GNUlib
        * config/srclist.txt: glibc has synced mktime from Gnulib.
 
diff --git a/tests/test-stdbool.c b/tests/test-stdbool.c
index 27fd16d010..329f5d5378 100644
--- a/tests/test-stdbool.c
+++ b/tests/test-stdbool.c
@@ -57,7 +57,6 @@ struct s { bool s: 1; bool t; } s;
 
 char a[true == 1 ? 1 : -1];
 char b[false == 0 ? 1 : -1];
-char c[__bool_true_false_are_defined == 1 ? 1 : -1];
 #if WORKING_BOOL
 char d[(bool) 0.5 == true ? 1 : -1];
 # ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning.  */
-- 
2.37.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]