]> git.saurik.com Git - apple/objc4.git/blob - test/ismeta.m
objc4-680.tar.gz
[apple/objc4.git] / test / ismeta.m
1 // TEST_CONFIG
2
3 #include "test.h"
4 #include "testroot.i"
5 #include <objc/objc-runtime.h>
6
7 int main()
8 {
9 testassert(!class_isMetaClass([TestRoot class]));
10 testassert(class_isMetaClass(object_getClass([TestRoot class])));
11 testassert(!class_isMetaClass(nil));
12 succeed(__FILE__);
13 }