20021113-1.c

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

C
18
字号
/* This program tests a data flow bug that would cause constant propagation   to propagate constants through function calls.  */foo (int *p){  *p = 10;}main(){  int *ptr = alloca (sizeof (int));  *ptr = 5;  foo (ptr);  if (*ptr == 5)    abort ();  exit (0);}

⌨️ 快捷键说明

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