2 /* { dg-do compile { target fpic } } */
3 /* { dg-options "-Os -fPIC" } */
5 void *memset (void *, int, __SIZE_TYPE__
);
6 void *memcpy (void *, const void *, __SIZE_TYPE__
);
11 test (int type
, int size
, char *data
, int len
)
13 char *block
= alloc (size
);
21 memset (bp
, type
== 0 ? 0x00 : 0xff, size
);
22 memcpy (bp
, data
, len
);