overload20.c

来自「gcc3.2.1源代码」· C语言 代码 · 共 12 行

C
12
字号
// Bug: this code causes an internal compiler error 4.void f (char *);void f (int);struct A {  void f ();			// ERROR - candidate  void f (int);			// ERROR - candidate  void g () {    void (*p)(char *) = f;	// ERROR - no matching function in scope  }};

⌨️ 快捷键说明

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