]> Savannah Git Hosting - gnulib.git/commitdiff
stdbool-tests: match stdbool
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 9 Sep 2022 04:46:19 +0000 (23:46 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 9 Sep 2022 04:49:57 +0000 (23:49 -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
tests/test-stdbool.c

index d7df9b16aaa4f31bf98a2feaca14ec672b473f83..99b476be6ebe2ad066b15b9bdfd2178781cb84a2 100644 (file)
--- 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.
 
index 27fd16d0103737adbbd7caf2f21d6bf9602968cf..329f5d5378f84d907482094feb6cc63df56ced6d 100644 (file)
@@ -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.  */