1 /* Test for memory/CPU leak in regcomp. */
9 #define TEST_DATA_LIMIT (32 << 20)
11 static int do_test (void);
12 #define TEST_FUNCTION do_test ()
13 #include "../test-skeleton.c"
21 reerr
= regcomp (&re
, "^6?3?[25]?5?[14]*[25]*[69]*+[58]*87?4?$",
22 REG_EXTENDED
| REG_NOSUB
);
26 regerror (reerr
, &re
, buf
, sizeof buf
);
27 printf ("regerror %s\n", buf
);