1typedef unsigned int __uint32_t;
2typedef __uint32_t __size_t;
3typedef __size_t size_t;
4struct demangle_component
5{
6  union
7  {
8  } u;
9};
10enum d_builtin_type_print
11{
12  D_PRINT_VOID
13};
14struct d_growable_string
15{
16  size_t alc;
17};
18d_growable_string_resize (struct d_growable_string *dgs, size_t need)
19{
20  size_t newalc;
21  newalc = dgs->alc > 0 ? dgs->alc : 2;
22  while (newalc < need)
23    newalc <<= 1;
24}
25d_growable_string_append_buffer (struct d_growable_string *dgs,
26                                 const char *s, size_t l)
27{
28  size_t need;
29  if (need > dgs->alc)
30    d_growable_string_resize (dgs, need);
31}
32/* { dg-final { scan-tree-dump-times "number of SCoPs: 0" 2 "graphite"} } */
33/* { dg-final { cleanup-tree-dump "graphite" } } */
34
35