X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-stdio.c;h=87100576f0769b469e7c5eb4d48709995380eb9a;hb=d913c90f6a01f889db65cbb516683aab2f28c533;hp=41299e21598a8bc83763ddbb9c5fdf6493b74ea6;hpb=b8521e81e705f88784e7a6709bcd6c5a3ea440e0;p=gnulib.git diff --git a/tests/test-stdio.c b/tests/test-stdio.c index 41299e215..87100576f 100644 --- a/tests/test-stdio.c +++ b/tests/test-stdio.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2009-2010 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 @@ -27,10 +27,17 @@ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET }; /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ -verify (sizeof (NULL) == sizeof (void *)); +verify (sizeof NULL == sizeof (void *)); + +/* Check that the types are all defined. */ +fpos_t t1; +off_t t2; +size_t t3; +ssize_t t4; +va_list t5; int -main () +main (void) { return 0; }