// TEST_CONFIG #include "test.h" #include <objc/objc-runtime.h> #include <objc/objc-gdb.h> #import <Foundation/NSObject.h> @interface Foo:NSObject @end @implementation Foo @end int main() { #if __OBJC2__ testassert(gdb_class_getClass([Foo class]) == [Foo class]); #endif succeed(__FILE__); }