⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nested-func-3.c

📁 linux下编程用 编译软件
💻 C
字号:
/* Undefined nested function should be a error, whether or not the   function is called.  Bug 17807.  *//* Origin: Joseph Myers <joseph@codesourcery.com> *//* { dg-do compile } *//* { dg-options "" } */voidf (void){  auto int fn (int); /* { dg-error "error: nested function 'fn' declared but never defined" } */  auto int fn2 (int); /* { dg-error "error: nested function 'fn2' declared but never defined" } */  sizeof(fn(1));}voidh (void){  auto int hn (int); /* { dg-error "error: nested function 'hn' declared but never defined" } */  hn (1);}

⌨️ 快捷键说明

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