13 mcheck_pedantic (NULL);
15 #define obstack_chunk_alloc malloc
16 #define obstack_chunk_free free
20 for (n = 0; n < 40000; ++n)
23 obstack_printf (&ob, "%.*s%05d", 1 + n % 7, "foobarbaz", n);
28 /* Another loop where we finish all objects, each of size 1. This will
29 manage to call `obstack_print' with all possible positions inside
31 for (n = 0; n < 40000; ++n)
34 obstack_printf (&ob, "%c", 'a' + n % 26);
38 /* And a final check. */
44 #define TEST_FUNCTION do_test ()
45 #include "../test-skeleton.c"