summaryrefslogtreecommitdiffstats
path: root/kernel/tools/build/feature/test-lzma.c
blob: 95adc8ced3dd0c6c96f35728f2b65ff30150d75d (plain)
1
2
3
4
5
6
7
8
9
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;
}