1322774Smarkj/*
2323012Smarkj * This file and its contents are supplied under the terms of the
3323012Smarkj * Common Development and Distribution License ("CDDL"), version 1.0.
4323012Smarkj * You may only use this file in accordance with the terms version
5323012Smarkj * 1.0 of the CDDL.
6322774Smarkj *
7323012Smarkj * A full copy of the text of the CDDL should have accompanied this
8323012Smarkj * source.  A copy of the CDDL is also available via the Internet at
9323012Smarkj * http://www.illumos.org/license/CDDL.
10322774Smarkj */
11322774Smarkj
12322774Smarkj/*
13323012Smarkj * Copyright 2017 Mark Johnston <markj@FreeBSD.org>
14322774Smarkj */
15322774Smarkj
16322774Smarkj/*
17322774Smarkj * A regression test for FreeBSD r322773. 100^9 fits in 64 bits, but
18322774Smarkj * llquantize() will create buckets up to 100^{10}, which does not fit.
19322774Smarkj */
20322774Smarkj
21322774SmarkjBEGIN
22322774Smarkj{
23322774Smarkj	@ = llquantize(0, 100, 0, 9, 100);
24322774Smarkj	exit(0);
25322774Smarkj}
26