aboutsummaryrefslogtreecommitdiff
path: root/helper/test/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'helper/test/version.c')
-rw-r--r--helper/test/version.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/helper/test/version.c b/helper/test/version.c
new file mode 100644
index 000000000..6af6df490
--- /dev/null
+++ b/helper/test/version.c
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2019 Nokia
+ */
+
+#include <odp_api.h>
+#include <odp/helper/odph_api.h>
+
+#include <stdio.h>
+#include <string.h>
+
+int main(int argc ODP_UNUSED, char *argv[] ODP_UNUSED)
+{
+ printf("\nHelper library versions is: %s\n\n", odph_version_str());
+
+ return 0;
+}