summaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-libcapstone.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/feature/test-libcapstone.c')
-rw-r--r--tools/build/feature/test-libcapstone.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/build/feature/test-libcapstone.c b/tools/build/feature/test-libcapstone.c
new file mode 100644
index 0000000000..fbe8dba189
--- /dev/null
+++ b/tools/build/feature/test-libcapstone.c
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include <capstone/capstone.h>
+
+int main(void)
+{
+ csh handle;
+
+ cs_open(CS_ARCH_X86, CS_MODE_64, &handle);
+ return 0;
+}