comp-types-12.mm

来自「linux下编程用 编译软件」· MM 代码 · 共 15 行

MM
15
字号
/* { dg-do compile } */#include <objc/Object.h>@interface Derived: Object@endextern Object* foo(void);static Derived *test(void){   Derived *m = foo();   /* { dg-warning "initialization from distinct Objective\\-C type" } */   return m;}

⌨️ 快捷键说明

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