# HG changeset patch # User Bruno Haible # Date 1180355781 0 # Node ID b80fefef40b5ac657c5716041a1f4e0d890a281f # Parent 736b37ab3c5b159f3e8e9f9e2bff47eb5440e3f7 Test some types. diff --git a/ChangeLog b/ChangeLog --- 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 --- 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 () {