redecl-15.c

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

C
15
字号
/* Test for ICE with redeclaration in inner scope which is accepted   despite incompatible type.  *//* Origin: Joseph Myers <joseph@codesourcery.com> *//* { dg-do compile } *//* { dg-options "" } */voidf (void){  g(); /* { dg-warning "warning: previous implicit declaration of 'g' was here" } */  {    void g(); /* { dg-warning "warning: conflicting types for 'g'" } */  }}

⌨️ 快捷键说明

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