1 /* Check if the objc_symtab descriptor is being laid out correctly. */
2 /* Contributed by Ziemowit Laski <zlaski@apple.com>. */
3 /* { dg-options "-fnext-runtime" } */
4 /* { dg-do compile { target *-*-darwin* } } */
6 #include <objc/Object.h>
8 @interface Base: Object
12 @interface Derived: Base
20 @implementation Derived
21 -(void)checkValues { }
24 /* { dg-final { scan-assembler "L_OBJC_SYMBOLS.*:\n\t.long\t0\n\t.long\t0\n\t.short\t2\n\t.short\t0\n\t.long\tL_OBJC_CLASS_Derived.*\n\t.long\tL_OBJC_CLASS_Base.*\n" } } */