summaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-disassembler-init-styled.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/feature/test-disassembler-init-styled.c')
-rw-r--r--tools/build/feature/test-disassembler-init-styled.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/build/feature/test-disassembler-init-styled.c b/tools/build/feature/test-disassembler-init-styled.c
new file mode 100644
index 0000000000..f1ce0ec3be
--- /dev/null
+++ b/tools/build/feature/test-disassembler-init-styled.c
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0
+#include <stdio.h>
+#include <dis-asm.h>
+
+int main(void)
+{
+ struct disassemble_info info;
+
+ init_disassemble_info(&info, stdout,
+ NULL, NULL);
+
+ return 0;
+}