Paul Eggert wrote: > > enum { j = false, k = true, l = false * true, m = true * 256 }; > > ... > > return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k + !l > > + !m + !n + !o); > > > > You are expecting that j and l evaluate to true? > > No, I'm just making sure that every declared value is used, and can be > an operand of '!'. The code isn't run; it's only compiled. Maybe > there should be a comment....
Ah, I see. Sorry for thinking the test was wrong. I've added the extra '!', and added a comment, so that I can reuse the same code in the unit test module stdbool-tests. There the return value matters. Bruno _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib