940409-1.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 9 行

C
9
字号
/* GCC should allow struct S to be in a register, but it doesn't.  This is   an obscure corner case, hasn't worked since 1994, and we don't expect it   to work anytime soon, hence XFAIL.  *//* { dg-do compile } */struct S { volatile int field; };int f (register struct S arg);  /* { dg-bogus "volatile field" "with arg" { xfail *-*-* } } */int g (register struct S);	/* { dg-bogus "volatile field" "no arg" { xfail *-*-* } } */

⌨️ 快捷键说明

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