From: Bruno Haible Date: Mon, 28 May 2007 12:36:21 +0000 (+0000) Subject: Test some types. X-Git-Tag: cvs-readonly~342 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=af9f82f95032d5edab29c28594d8dea640758c5e;p=gnulib.git Test some types. --- diff --git a/ChangeLog b/ChangeLog index bc9441c4d..91eb8d1f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-28 Bruno Haible + + * tests/test-unistd.c: Test all the types that is expected + to define. + 2007-05-27 Bruno Haible * m4/iconv.m4 (AM_ICONV_LINK): Fix 2007-03-31 patch. diff --git a/tests/test-unistd.c b/tests/test-unistd.c index 755708ac0..8b8fe8e96 100644 --- a/tests/test-unistd.c +++ b/tests/test-unistd.c @@ -24,6 +24,16 @@ /* Check that the various SEEK_* macros are defined. */ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET }; +/* Check that the types are all defined. */ +size_t t1; +ssize_t t2; +uid_t t3; +gid_t t4; +off_t t5; +pid_t t6; +useconds_t t7; +intptr_t t8; + int main () {