changeset 8876:b80fefef40b5

Test some types.
author Bruno Haible <bruno@clisp.org>
date Mon, 28 May 2007 12:36:21 +0000
parents 736b37ab3c5b
children 30d389dd4713
files ChangeLog tests/test-unistd.c
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-28  Bruno Haible  <bruno@clisp.org>
+
+	* tests/test-unistd.c: Test all the types that <unistd.h> is expected
+	to define.
+
 2007-05-27  Bruno Haible  <bruno@clisp.org>
 
 	* m4/iconv.m4 (AM_ICONV_LINK): Fix 2007-03-31 patch.
--- 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 ()
 {