Add test for compilation of libust against a shared library
[ust.git] / tests / make_shared_lib / basic_lib.c
diff --git a/tests/make_shared_lib/basic_lib.c b/tests/make_shared_lib/basic_lib.c
new file mode 100644 (file)
index 0000000..2c1366e
--- /dev/null
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <ust/marker.h>
+
+void myfunc(void)
+{
+       trace_mark(ust, in_lib, MARK_NOARGS);
+       printf("testfunc\n");
+}
+
+//MARKER_LIB
This page took 0.022841 seconds and 4 git commands to generate.