summaryrefslogtreecommitdiff
path: root/lib/replace/test
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-22 13:01:58 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:59 +1000
commit2239a52fecc5e630e61d72b3b13e18bad9c582e0 (patch)
tree74bcd718f3c091914d6d67d46b699181cd70f94e /lib/replace/test
parent8bc95608223033428cc1fae7525f07e22ab7d8ef (diff)
downloadsamba-2239a52fecc5e630e61d72b3b13e18bad9c582e0.tar.gz
samba-2239a52fecc5e630e61d72b3b13e18bad9c582e0.tar.bz2
samba-2239a52fecc5e630e61d72b3b13e18bad9c582e0.zip
build: check if a simple C program runs
This will be helpful for working out why AIX is failing
Diffstat (limited to 'lib/replace/test')
-rw-r--r--lib/replace/test/simple.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/replace/test/simple.c b/lib/replace/test/simple.c
new file mode 100644
index 0000000000..e60b68f275
--- /dev/null
+++ b/lib/replace/test/simple.c
@@ -0,0 +1,8 @@
+/* simple program to make sure the compiler is OK */
+#include <stdio.h>
+
+int main(void)
+{
+ printf("Hello world\n");
+ return 0;
+}