X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-locale.c;h=625cc43d8446c3c6c1bd4bf0e4c57a4371417446;hb=9cedf3e1ac7dbdddefb7e172156e9000de7d80c2;hp=39e7de9d71cacb378b5041093b5c655ddbfd91c8;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/tests/test-locale.c b/tests/test-locale.c index 39e7de9d7..625cc43d8 100644 --- a/tests/test-locale.c +++ b/tests/test-locale.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2009 Free Software Foundation, Inc. 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 @@ -20,6 +20,8 @@ #include +#include "verify.h" + int a[] = { LC_ALL, @@ -31,6 +33,10 @@ int a[] = LC_TIME }; +/* Check that NULL can be passed through varargs as a pointer type, + per POSIX 2008. */ +verify (sizeof NULL == sizeof (void *)); + int main () {