X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-stdbool.c;h=30d53217a551cd962a7290262bb019222f068a27;hb=b7be78fd0c455acefbdf32618c2f6488915c1a33;hp=0314be34d1c421b1b86a764c927da231da7d4ee1;hpb=f4c860830bab698f86e0f3d0d6014e1337553c71;p=gnulib.git diff --git a/tests/test-stdbool.c b/tests/test-stdbool.c index 0314be34d..30d53217a 100644 --- a/tests/test-stdbool.c +++ b/tests/test-stdbool.c @@ -1,10 +1,10 @@ /* Test of substitute. Copyright (C) 2002-2007 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -12,8 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ @@ -54,7 +53,9 @@ bool e = &s; char f[(_Bool) 0.0 == false ? 1 : -1]; char g[true]; char h[sizeof (_Bool)]; +#if 0 /* See above. */ char i[sizeof s.t]; +#endif enum { j = false, k = true, l = false * true, m = true * 256 }; _Bool n[m]; char o[sizeof n == m * sizeof n[0] ? 1 : -1];