symtab-1.m
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· M 代码 · 共 26 行
M
26 行
/* Check if the objc_symtab descriptor is being laid out correctly. *//* Contributed by Ziemowit Laski <zlaski@apple.com>. *//* { dg-options "-fnext-runtime" } *//* { dg-do compile { target *-*-darwin* } } */#include <objc/Object.h>@interface Base: Object - (void)setValues;@end@interface Derived: Base- (void)checkValues;@end@implementation Base-(void)setValues { }@end@implementation Derived-(void)checkValues { }@end/* APPLE LOCAL testing *//* { dg-final { scan-assembler "L_OBJC_SYMBOLS.*:\n\t.long\t0\n\t.long\t0\n\t.(short|word)\t2\n\t.(short|word)\t0\n\t.long\tL_OBJC_CLASS_Derived.*\n\t.long\tL_OBJC_CLASS_Base.*\n" } } */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?