mirror of
https://github.com/darlinghq/darling-objc4.git
synced 2024-11-26 21:50:26 +00:00
19 lines
515 B
Objective-C
19 lines
515 B
Objective-C
// Run test badPool as if it were built with an old SDK.
|
|
|
|
// TEST_CONFIG MEM=mrc OS=iphoneos,iphonesimulator ARCH=x86_64,arm64
|
|
// TEST_CRASHES
|
|
// TEST_CFLAGS -DOLD=1 -Xlinker -platform_version -Xlinker ios -Xlinker 9.0 -Xlinker 9.0 -miphoneos-version-min=9.0
|
|
|
|
/*
|
|
TEST_BUILD_OUTPUT
|
|
ld: warning: passed two min versions.*for platform.*
|
|
END
|
|
|
|
TEST_RUN_OUTPUT
|
|
objc\[\d+\]: Invalid or prematurely-freed autorelease pool 0x[0-9a-fA-f]+\. Set a breakpoint .* Proceeding anyway .*
|
|
OK: badPool.m
|
|
END
|
|
*/
|
|
|
|
#include "badPool.m"
|