next-runtime-1.m

来自「用于进行gcc测试」· M 代码 · 共 19 行

M
19
字号
/* Test that the correct version number (6) is set in the module descriptor   when compiling for the NeXT runtime.  *//* Author: Ziemowit Laski <zlaski@apple.com>  *//* { dg-do compile { target *-*-darwin* } } *//* { dg-options "-fnext-runtime" } */#include <objc/Object.h>@interface FooBar: Object- (void)boo;@end@implementation FooBar- (void)boo { }@end/* { dg-final { scan-assembler "L_OBJC_MODULES:\n\[ \t\]*\.long\t6\n" } } */

⌨️ 快捷键说明

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