blob: e214e9b89c0005b48548b83cc71586df04b8d3d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include "pixman.h"
/* This used to go into an infinite loop before pixman-region.c
* was fixed to not use explict "short" variables
*/
int
main ()
{
pixman_region32_t r1;
pixman_region32_t r2;
pixman_region32_t r3;
pixman_region32_init_rect (&r1, 0, 0, 20, 64000);
pixman_region32_init_rect (&r2, 0, 0, 20, 64000);
pixman_region32_init_rect (&r3, 0, 0, 20, 64000);
pixman_region32_subtract (&r1, &r2, &r3);
}
|