summaryrefslogtreecommitdiffstats
path: root/tests/shlib.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-22 11:35:28 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-22 11:35:28 +0100
commite490c1b8c858ea42e31ae1a6504c4788e0fb1545 (patch)
tree850087c9403c37adfc54deaf831a3e729223fa9a /tests/shlib.c
parent63e23a7d648cb608a9834b4397c0aed765a1d459 (diff)
downloadsamba-e490c1b8c858ea42e31ae1a6504c4788e0fb1545.tar.gz
samba-e490c1b8c858ea42e31ae1a6504c4788e0fb1545.tar.xz
samba-e490c1b8c858ea42e31ae1a6504c4788e0fb1545.zip
Move configure test files to the top-level and share them between s3 and
s4.
Diffstat (limited to 'tests/shlib.c')
-rw-r--r--tests/shlib.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/shlib.c b/tests/shlib.c
new file mode 100644
index 00000000000..eddb76ff2a2
--- /dev/null
+++ b/tests/shlib.c
@@ -0,0 +1,8 @@
+/* a trivial function used to test building shared libraries */
+
+int foo(void);
+
+int foo(void)
+{
+ return 1;
+}