diff --git a/test/libxmp.cpp b/test/libxmp.cpp
new file mode 100644
index 00000000..823b8318
--- /dev/null
+++ b/test/libxmp.cpp
@@ -0,0 +1,11 @@
+#include
+
+int main()
+{
+ xmp_context context = xmp_create_context();
+ AEDI_EXPECT(context != nullptr);
+ AEDI_EXPECT(xmp_syserrno() == 0);
+ xmp_free_context(context);
+
+ return 0;
+}