]> git.saurik.com Git - apple/objc4.git/blob - test/classgetclass.m
objc4-781.tar.gz
[apple/objc4.git] / test / classgetclass.m
1 // TEST_CONFIG
2
3 #include "test.h"
4 #include <objc/objc-runtime.h>
5 #include <objc/objc-gdb.h>
6 #import <Foundation/NSObject.h>
7
8 @interface Foo:NSObject
9 @end
10 @implementation Foo
11 @end
12
13 int main()
14 {
15 testassert(gdb_class_getClass([Foo class]) == [Foo class]);
16 succeed(__FILE__);
17 }