When you call _intersect_rect and pass it an empty rectangle,
it creates an invalid region from that rectangle. The only valid
empty region is the one where the data pointer points to
pixman_region_empty_data. The region created by _intersect_rect has
a null data pointer, and so _not_empty returns
This test ensures that calling _intersect_rect on an empty
rectangle produces an empty region.
Reviewed-by: Siarhei Siamashka
---
test/region-test.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/test/region-test.c b/test/region-test.c
index bfc219b..e5743e8 100644
--- a/test/regio