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