summaryrefslogtreecommitdiffstats
path: root/source/tests
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-31 22:10:24 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-31 22:10:24 +0000
commit3aeefbca4f272f57e83e753177ee6e8157b2dbd5 (patch)
treeceee64169027e2a8f9e54d8ac9450a524a390ecd /source/tests
parent29b3b5e9292805aa65e887755567abd50f74e5cb (diff)
downloadsamba-3aeefbca4f272f57e83e753177ee6e8157b2dbd5.tar.gz
samba-3aeefbca4f272f57e83e753177ee6e8157b2dbd5.tar.xz
samba-3aeefbca4f272f57e83e753177ee6e8157b2dbd5.zip
added a simple test to see whether building shared libraries actually
works
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/shlib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/tests/shlib.c b/source/tests/shlib.c
new file mode 100644
index 00000000000..761d9fd5c57
--- /dev/null
+++ b/source/tests/shlib.c
@@ -0,0 +1,6 @@
+/* a trivial function used to test building shared libraries */
+
+int foo(void)
+{
+ return 1;
+}