]> git.saurik.com Git - apple/objc4.git/blame - test/badPoolCompat-macos.m
objc4-818.2.tar.gz
[apple/objc4.git] / test / badPoolCompat-macos.m
CommitLineData
13ba007e
A
1// Run test badPool as if it were built with an old SDK.
2
34d5b5e8 3// TEST_CONFIG MEM=mrc OS=macosx ARCH=x86_64
13ba007e 4// TEST_CRASHES
34d5b5e8 5// TEST_CFLAGS -DOLD=1 -Xlinker -platform_version -Xlinker macos -Xlinker 10.11 -Xlinker 10.11 -mmacosx-version-min=10.11
13ba007e
A
6
7/*
34d5b5e8
A
8TEST_BUILD_OUTPUT
9ld: warning: passed two min versions.*for platform.*
10END
11
13ba007e
A
12TEST_RUN_OUTPUT
13objc\[\d+\]: Invalid or prematurely-freed autorelease pool 0x[0-9a-fA-f]+\. Set a breakpoint .* Proceeding anyway .*
14OK: badPool.m
15END
16*/
17
18#include "badPool.m"