overload2.c

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

C
13
字号
// Bug: foo and bar are considered to be overloaded (i.e. their//   IDENTIFIER_GLOBAL_VALUES are TREE_LISTs) even though they aren't,//   so ?: thinks it can't resolve the names.// Build don't link:void foo ();void bar ();void baz (){  void (*p)() = 1 ? foo : bar;	// gets bogus error - wrongful overloading}

⌨️ 快捷键说明

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