p7868.c

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

C
22
字号
// Build don't link:// prms-id: 7868struct DIAGTYP {};struct DIAGTYP1 {  struct DIAGTYP;       // ERROR - forward declaration  void bar() { new struct DIAGTYP; }	// ERROR - undefined  void foo() { new struct DIAGTYP1; }};int main () {  struct DIAGTYP;               // ERROR - forward declaration  struct DIAGTYP  *lerror_desc;  lerror_desc= new struct DIAGTYP;	// ERROR - undefined}void foo () {  struct DIAGTYP  *lerror_desc;  lerror_desc= new struct DIAGTYP;}

⌨️ 快捷键说明

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