summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-02-18 04:16:13 +0000
committerBruno Haible <bruno@clisp.org>2007-02-18 04:16:13 +0000
commitb4485ef01ea8fa6fc90eb5836e40c982dfc31fb0 (patch)
treee78811824bdcbf8f5b257d2dc6c5b2b498926ac3 /tests
parent4dc5127ae2b91d18a8af1ef298e6b28030e1406c (diff)
downloadgnulib-b4485ef01ea8fa6fc90eb5836e40c982dfc31fb0.tar.gz
Tests for module 'string'.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-string.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/test-string.c b/tests/test-string.c
new file mode 100644
index 0000000000..7a2a8365a6
--- /dev/null
+++ b/tests/test-string.c
@@ -0,0 +1,28 @@
+/* Test of <string.h> substitute.
+ Copyright (C) 2007 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
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2007. */
+
+#include <config.h>
+
+#include <string.h>
+
+int
+main ()
+{
+ return 0;
+}