thunk4.c
来自「用于进行gcc测试」· C语言 代码 · 共 25 行
C
25 行
// { dg-require-weak "" }// { dg-final { scan-assembler ".weak\[ \t\]_?_ZThn._N7Derived3FooEv" { target { ! { *-*-darwin* } } } } }// { dg-final { scan-assembler ".weak_definition\[ \t\]_?_ZThn._N7Derived3FooEv" { target { *-*-darwin* } } } }struct Base { virtual void Foo ();};struct Filler { virtual void Baz ();};struct Derived : Filler, Base { virtual void Foo ();};inline void Derived::Foo (){}Derived f;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?