debug-4.c

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 29 行

C
29
字号
/* This testcase failed, because scope containing baz was not emitted   (doesn't contain any instructions) and DWARF-2 couldn't find baz origin.  *//* { dg-do compile } *//* APPLE LOCAL testsuite nested functions *//* { dg-options "-fnested-functions" } */struct A { char *a, *b, *c, *d; };static intbar (struct A *x){  return x->c - x->b;}voidfoo (void){  struct A e;  {    int baz (void)      {	return bar (&e);      }  }  if (e.c - e.a > e.d - e.a)    e.c = e.d;}

⌨️ 快捷键说明

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