4 // Test badPoolCompat also uses this file.
8 objc\[\d+\]: [Ii]nvalid or prematurely-freed autorelease pool 0x[0-9a-fA-F]+\.?
17 void *outer = objc_autoreleasePoolPush();
18 void *inner = objc_autoreleasePoolPush();
19 objc_autoreleasePoolPop(outer);
20 objc_autoreleasePoolPop(inner);
23 fail("should have crashed already with new SDK");
25 // should only warn once
26 outer = objc_autoreleasePoolPush();
27 inner = objc_autoreleasePoolPush();
28 objc_autoreleasePoolPop(outer);
29 objc_autoreleasePoolPop(inner);