📄 stdcall.c
字号:
/* APPLE LOCAL file 4284121 *//* { dg-do run } *//* { dg-options "-O2" } *//* Test stack computations with stdcall attribute. *//* Primarily for darwin, although should work elsewhere. */extern void abort();int ww = 5;int __attribute__((__stdcall__)) __attribute__((noinline)) bar(int x){ return ww+x;}int y = 5;int main() { volatile int xx = 3; int i; int z = bar(y); for (i=0; i<20; i++) { ww += 5; z += bar(y); } if (z!=1260) abort(); if (xx != 3) abort(); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -