summaryrefslogtreecommitdiffstats
path: root/kernel/tools/build/feature/test-lzma.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/build/feature/test-lzma.c')
-rw-r--r--kernel/tools/build/feature/test-lzma.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/tools/build/feature/test-lzma.c b/kernel/tools/build/feature/test-lzma.c
new file mode 100644
index 000000000..95adc8ced
--- /dev/null
+++ b/kernel/tools/build/feature/test-lzma.c
@@ -0,0 +1,10 @@
+#include <lzma.h>
+
+int main(void)
+{
+ lzma_stream strm = LZMA_STREAM_INIT;
+ int ret;
+
+ ret = lzma_stream_decoder(&strm, UINT64_MAX, LZMA_CONCATENATED);
+ return ret ? -1 : 0;
+}