⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 super-class-4.m

📁 linux下编程用 编译软件
💻 M
字号:
/* Bail out gracefully if attempting to derive from a class that has only been   forward-declared (via @class).  Conversely, @compatibility_alias declarations   should be traversed to find the @interface.  *//* { dg-do compile } */#include <objc/Object.h>@class MyWpModule;@compatibility_alias MyObject Object;@compatibility_alias FictitiousModule MyWpModule;@protocol MySelTarget- (id) meth1;@end@protocol Img- (id) meth2;@end@interface FunnyModule: FictitiousModule <Img> /* { dg-error ".MyWpModule., superclass of .FunnyModule." } */- (id) meth2;@end@interface MyProjWpModule : MyWpModule <MySelTarget, Img> /* { dg-error ".MyWpModule., superclass of .MyProjWpModule." } */ {  id i1, i2;}- (id) meth1;- (id) meth2;@end@interface AnotherModule: MyObject <MySelTarget>- (id) meth1;@end

⌨️ 快捷键说明

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