]>
Commit | Line | Data |
---|---|---|
13ba007e A |
1 | // Run test badPool as if it were built with an old SDK. |
2 | ||
3 | // TEST_CONFIG MEM=mrc OS=watchos,watchsimulator | |
4 | // TEST_CRASHES | |
34d5b5e8 | 5 | // TEST_CFLAGS -DOLD=1 -Xlinker -platform_version -Xlinker watchos -Xlinker 2.0 -Xlinker 2.0 -mwatchos-version-min=2.0 |
13ba007e A |
6 | |
7 | /* | |
34d5b5e8 A |
8 | TEST_BUILD_OUTPUT |
9 | ld: warning: passed two min versions.*for platform.* | |
10 | END | |
11 | ||
13ba007e A |
12 | TEST_RUN_OUTPUT |
13 | objc\[\d+\]: Invalid or prematurely-freed autorelease pool 0x[0-9a-fA-f]+\. Set a breakpoint .* Proceeding anyway .* | |
14 | OK: badPool.m | |
15 | END | |
16 | */ | |
17 | ||
18 | #include "badPool.m" |