blob: 83cdf2addc0f2d74e4f6f6ec42ffbc3bb1390309 [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed old-abort
struct mbuf {
struct mbuf *next;
};
void* malloc(int);
struct mbuf *
mbuf_allocate(int size)
{
struct mbuf *bp;
bp = (struct mbuf *) malloc( 10 /*(unsigned) (size + sizeof(struct mbuf))*/);
return bp;
}