?? super-class-1.mm
字號:
/* Test calling super from within a category method. *//* { dg-do compile } */#include <objc/objc.h>@interface NSObject@end@interface NSMenuItem: NSObject@end@interface NSObject (Test)+ (int) test_func;@end@implementation NSObject (Test)+ (int) test_func{}@end@interface NSMenuItem (Test)+ (int) test_func;@end@implementation NSMenuItem (Test)+ (int) test_func{ return [super test_func]; /* { dg-bogus "invalid use of undefined type" } */} /* { dg-bogus "forward declaration of" "" { target *-*-* } 28 } */@end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -