mirror of
https://github.com/darlinghq/darling-objc4.git
synced 2024-11-23 12:19:48 +00:00
15 lines
361 B
Objective-C
15 lines
361 B
Objective-C
// Run test badPool as if it were built with an old SDK.
|
|
|
|
// TEST_CONFIG MEM=mrc OS=watchos,watchsimulator
|
|
// TEST_CRASHES
|
|
// TEST_CFLAGS -DOLD=1 -Xlinker -sdk_version -Xlinker 2.0
|
|
|
|
/*
|
|
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"
|