summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-25 02:46:43 +0000
committerBruno Haible <bruno@clisp.org>2007-03-25 02:46:43 +0000
commite895ee44fa38f92a854d5cd61e56cd8e521ae2c3 (patch)
tree8b9cdb483f22d7f6862cb7448b884434ef5f489d /tests
parentf6cc762af9137f7dc92b9ad5ef97c8a05f7e129b (diff)
downloadgnulib-e895ee44fa38f92a854d5cd61e56cd8e521ae2c3.tar.gz
Tests for module 'search'.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-search.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/test-search.c b/tests/test-search.c
new file mode 100644
index 0000000000..074421a303
--- /dev/null
+++ b/tests/test-search.c
@@ -0,0 +1,28 @@
+/* Test of <search.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 <search.h>
+
+int
+main ()
+{
+ return 0;
+}