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