pr36093.c
来自「用于进行gcc测试」· C语言 代码 · 共 29 行
C
29 行
extern void abort (void);typedef struct Bar { char c[129];} Bar __attribute__((__aligned__(128)));typedef struct Foo { Bar bar[4];} Foo;Foo foo[4];int main(){ int i, j; Foo *foop = &foo[0]; for (i=0; i < 4; i++) { Bar *bar = &foop->bar[i]; for (j=0; j < 129; j++) { bar->c[j] = 'a' + i; } } if (foo[0].bar[3].c[128] != 'd') abort (); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?