4 objc\[\d+\]: tag index 7 used for two different classes \(was 0x[0-9a-fA-F]+ NSObject, now 0x[0-9a-fA-F]+ TestRoot\)
15 #include <objc/objc-internal.h>
16 #include <objc/Protocol.h>
18 #if OBJC_HAVE_TAGGED_POINTERS
22 // re-registration and nil registration allowed
23 _objc_registerTaggedPointerClass(OBJC_TAG_7, [NSObject class]);
24 _objc_registerTaggedPointerClass(OBJC_TAG_7, [NSObject class]);
25 _objc_registerTaggedPointerClass(OBJC_TAG_7, nil);
26 _objc_registerTaggedPointerClass(OBJC_TAG_7, [NSObject class]);
28 // colliding registration disallowed
29 _objc_registerTaggedPointerClass(OBJC_TAG_7, [TestRoot class]);
38 fprintf(stderr, "no tagged pointers\n");