rt_gccstream/gcc/testsuite/gcc.dg/graphite/scop-19.c

35 lines
737 B
C

typedef unsigned int __uint32_t;
typedef __uint32_t __size_t;
typedef __size_t size_t;
struct demangle_component
{
union
{
} u;
};
enum d_builtin_type_print
{
D_PRINT_VOID
};
struct d_growable_string
{
size_t alc;
};
d_growable_string_resize (struct d_growable_string *dgs, size_t need)
{
size_t newalc;
newalc = dgs->alc > 0 ? dgs->alc : 2;
while (newalc < need)
newalc <<= 1;
}
d_growable_string_append_buffer (struct d_growable_string *dgs,
const char *s, size_t l)
{
size_t need;
if (need > dgs->alc)
d_growable_string_resize (dgs, need);
}
/* { dg-final { scan-tree-dump-times "number of SCoPs: 0" 2 "graphite"} } */
/* { dg-final { cleanup-tree-dump "graphite" } } */