struct-1.c
来自「xml大全 可读写调用率很高 xml大全 可读写调用率很高」· C语言 代码 · 共 33 行
C
33 行
/* This testcase ICEd on IA-32 because the backend was inconsistent whether to allow addends for @dtpoff relocs or not. *//* { dg-do compile } *//* { dg-options "-O2 -fpic" } */struct S { int s0, s1, s2, s3;};static __thread struct S x;extern void abort (void);extern void exit (int);voidfoo (struct S *s){ s->s2 = 231;}voidbar (void){ if (x.s0 == 231 || x.s2 != 231) abort ();}intmain (){ foo (&x); bar (); exit (0);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?