pr24851.c

来自「用于进行gcc测试」· C语言 代码 · 共 18 行

C
18
字号
/* We used to handle pointer addition wrongly   at the time of recombining to an ARRAY_REF   in the case of     p + -4B   where -4B is represented as unsigned.  */void abort(void);int main(){  int a[10], *p, *q;  q = &a[1];  p = &q[-1];  if (p >= &a[9])    abort ();  return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?