xref: /linux/tools/build/feature/test-lzma.c (revision a36e9f5cfe9eb3a1dce8769c7058251c42705357)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <lzma.h>
3 
4 int main(void)
5 {
6 	lzma_stream strm = LZMA_STREAM_INIT;
7 	int ret;
8 
9 	ret = lzma_stream_decoder(&strm, UINT64_MAX, LZMA_CONCATENATED);
10 	return ret ? -1 : 0;
11 }
12