Add test for compilation of libust against a shared library
[ust.git] / tests / make_shared_lib / prog.c
diff --git a/tests/make_shared_lib/prog.c b/tests/make_shared_lib/prog.c
new file mode 100644 (file)
index 0000000..c1f5ac8
--- /dev/null
@@ -0,0 +1,10 @@
+#include <ust/marker.h>
+
+extern myfunc(void);
+
+int main(void)
+{
+       myfunc();
+       trace_mark(ust, in_prog, MARK_NOARGS);
+       return 0;
+}
This page took 0.02328 seconds and 4 git commands to generate.