Imported Upstream version 0.18.3.2
[platform/upstream/gettext.git] / gettext-tools / gnulib-tests / test-sys_types.c
@@ -1,5 +1,5 @@
-/* Test of u8_mbtouc_unsafe() function.
-   Copyright (C) 2010 Free Software Foundation, Inc.
+/* Test of <sys/types.h> substitute.
+   Copyright (C) 2011-2013 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
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-/* Written by Bruno Haible <bruno@clisp.org>, 2010.  */
+/* Written by Bruno Haible <bruno@clisp.org>, 2011.  */
 
 #include <config.h>
 
-#include "unistr.h"
+#include <sys/types.h>
 
-#include "macros.h"
-
-#include "test-u8-mbtouc.h"
+/* Check that the types are all defined.  */
+pid_t t1;
+size_t t2;
+ssize_t t3;
+off_t t4;
+mode_t t5;
 
 int
-main ()
+main (void)
 {
-  test_function (u8_mbtouc_unsafe);
-
   return 0;
 }