]> git.saurik.com Git - apple/objc4.git/blob - test/badPoolCompat-ios-tvos.m
objc4-756.2.tar.gz
[apple/objc4.git] / test / badPoolCompat-ios-tvos.m
1 // Run test badPool as if it were built with an old SDK.
2
3 // TEST_CONFIG MEM=mrc OS=iphoneos,iphonesimulator,appletvos,appletvsimulator
4 // TEST_CRASHES
5 // TEST_CFLAGS -DOLD=1 -Xlinker -sdk_version -Xlinker 9.0
6
7 /*
8 TEST_RUN_OUTPUT
9 objc\[\d+\]: Invalid or prematurely-freed autorelease pool 0x[0-9a-fA-f]+\. Set a breakpoint .* Proceeding anyway .*
10 OK: badPool.m
11 END
12 */
13
14 #include "badPool.m"