4 #include "brl_checks.h"
6 /* Illustrates the same bug as doctests/hyphenate_xxx_test.txt
7 * The same bug can be reproduced with only 3 'x'es. */
8 int main(int argc, char **argv)
11 char *tables = "cs-g1.ctb,hyph_cs_CZ.dic";
13 char * hyphens = calloc(5, sizeof(char));
19 ret = check_hyphenation(tables, word, hyphens);
20 assert(hyphens[3] == '\0');
21 assert(hyphens[4] == '\0');