1 // fixme rdar://24624435 duplicate class warning fails with the shared cache
2 // OBJC_DISABLE_PREOPTIMIZATION=YES works around that problem.
4 // TEST_ENV OBJC_DEBUG_DUPLICATE_CLASSES=YES OBJC_DISABLE_PREOPTIMIZATION=YES
8 objc\[\d+\]: Class [^\s]+ is implemented in both .+ \(0x[0-9a-f]+\) and .+ \(0x[0-9a-f]+\)\. One of the two will be used\. Which one is undefined\.
11 OK: duplicatedClasses.m
18 @interface WKWebView : TestRoot @end
19 @implementation WKWebView @end
23 void *dl = dlopen("/System/Library/Frameworks/WebKit.framework/WebKit", RTLD_LAZY);
24 if (!dl) fail("couldn't open WebKit");
25 fail("should have crashed already");