mangle8.c

来自「linux下编程用 编译软件」· C语言 代码 · 共 17 行

C
17
字号
// Red Hat bugzilla 65035// Bug: We were encoding the name of the instantiation as 'operator int'// rather than 'operator T'.// { dg-do compile }struct C {    template <class T>    operator T ();};template <class T>C::operator T () { return 0; }template C::operator int ();// { dg-final { scan-assembler _ZN1CcvT_IiEEv } }

⌨️ 快捷键说明

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