xref: /linux/tools/build/feature/test-lzma.c (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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