overload14.c

来自「用于进行gcc测试」· C语言 代码 · 共 11 行

C
11
字号
// { dg-do assemble  }// Bug: g++ fails to recognize that the template matches the target type.template <class T> void foo (T *, int);struct A;void bar (){  void (*p)(A *, int) = &foo;}

⌨️ 快捷键说明

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