]> git.saurik.com Git - apple/objc4.git/blobdiff - test/badPoolCompat-macos.m
objc4-818.2.tar.gz
[apple/objc4.git] / test / badPoolCompat-macos.m
index afd21176a7451fc50896f953d31cc2f1076ed5f8..1131c83f30240c834c45f90a21ff64f9adc0a2b8 100644 (file)
@@ -1,10 +1,14 @@
 // Run test badPool as if it were built with an old SDK.
 
-// TEST_CONFIG MEM=mrc OS=macosx
+// TEST_CONFIG MEM=mrc OS=macosx ARCH=x86_64
 // TEST_CRASHES
-// TEST_CFLAGS -DOLD=1 -Xlinker -sdk_version -Xlinker 10.11
+// TEST_CFLAGS -DOLD=1 -Xlinker -platform_version -Xlinker macos -Xlinker 10.11 -Xlinker 10.11 -mmacosx-version-min=10.11
 
 /*
+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