1 // TEST_ENV OBJC_DEBUG_DUPLICATE_CLASSES=YES
5 objc\[\d+\]: Class GKScore is implemented in both [^\s]+ and [^\s]+ One of the two will be used. Which one is undefined.
8 OK: duplicatedClasses.m
15 @interface GKScore : TestRoot @end
16 @implementation GKScore @end
20 if (objc_collectingEnabled()) {
21 testwarn("rdar://19042235 test disabled because GameKit is not GC");
24 void *dl = dlopen("/System/Library/Frameworks/GameKit.framework/GameKit", RTLD_LAZY);
25 if (!dl) fail("couldn't open GameKit");
26 fail("should have crashed already");