📄 pr24615.c
字号:
/* { dg-do compile { target fpic } } *//* { dg-options "-Os -fPIC" } */void *memset (void *, int, __SIZE_TYPE__);void *memcpy (void *, const void *, __SIZE_TYPE__);char *alloc (int);char *test (int type, int size, char *data, int len){ char *block = alloc (size); char *bp = block; *bp++ = type; switch (type) { case 0: case 1: memset (bp, type == 0 ? 0x00 : 0xff, size); memcpy (bp, data, len); } return block;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -