badPoolCompat-ios-tvos.m 390 B

1234567891011121314
  1. // Run test badPool as if it were built with an old SDK.
  2. // TEST_CONFIG MEM=mrc OS=iphoneos,iphonesimulator,appletvos,appletvsimulator
  3. // TEST_CRASHES
  4. // TEST_CFLAGS -DOLD=1 -Xlinker -sdk_version -Xlinker 9.0
  5. /*
  6. TEST_RUN_OUTPUT
  7. objc\[\d+\]: Invalid or prematurely-freed autorelease pool 0x[0-9a-fA-f]+\. Set a breakpoint .* Proceeding anyway .*
  8. OK: badPool.m
  9. END
  10. */
  11. #include "badPool.m"