1NOTE test cases for illumos bug 16127
2#
3# This involved an erroneously implemented optimization which reduces
4# single-element sets to an exact match with a single codepoint.
5# Match sets record small-codepoint characters in a bitmap and large-codepoint
6# characters in an array; the optimization would falsely trigger if either
7# the bitmap or the array was a singleton, ignoring the members of the other
8# side of the set.
9#
10# To exercise this, we construct sets which have one member of one side and
11# one or more of the other, and verify that all members can be found.
12
13{C	C.UTF-8
14B	[aà]	a	(0,1)
15B	[aà]	à	(0,2)
16B	[aàá]	a	(0,1)
17B	[aàá]	à	(0,2)
18B	[aàá]	á	(0,2)
19B	[abà]	à	(0,2)
20B	[abà]	a	(0,1)
21B	[abà]	b	(0,1)
22E	[aà]	a	(0,1)
23E	[aà]	à	(0,2)
24E	[aàá]	a	(0,1)
25E	[aàá]	à	(0,2)
26E	[aàá]	á	(0,2)
27E	[abà]	à	(0,2)
28E	[abà]	a	(0,1)
29E	[abà]	b	(0,1)
30}
31