summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-lzma.c
blob: 78682bb01d5761bc4401a2cbaef2ef719b9c2f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: GPL-2.0
#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;
}