Add abi0 conflict tests
[lttng-ust.git] / tests / regression / abi0-conflict / app_noust.c
diff --git a/tests/regression/abi0-conflict/app_noust.c b/tests/regression/abi0-conflict/app_noust.c
new file mode 100644 (file)
index 0000000..35d1111
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ * Copyright (C) 2021 Michael Jeanson <mjeanson@efficios.com>
+ */
+
+#include <stdio.h>
+
+#include "./libzero.h"
+#include "./libone.h"
+
+int main(void)
+{
+       printf("This application is NOT linked on liblttng-ust.\n");
+
+#ifdef USE_LIBZERO
+       libzero();
+#endif
+#ifdef USE_LIBONE
+       libone();
+#endif
+
+       return 0;
+}
This page took 0.024099 seconds and 4 git commands to generate.