Prep for new warning.

llvm-svn: 76619
This commit is contained in:
Mike Stump 2009-07-21 18:58:15 +00:00
parent 4cac3e34e5
commit 13876e914b
1 changed files with 1 additions and 0 deletions

View File

@ -379,6 +379,7 @@ CFMutableArrayRef f13_autorelease_d() {
[(id) A autorelease]; [(id) A autorelease];
CFMutableArrayRef B = CFArrayCreateMutable(0, 10, &kCFTypeArrayCallBacks); // expected-warning{{Object sent -autorelease too many times}} CFMutableArrayRef B = CFArrayCreateMutable(0, 10, &kCFTypeArrayCallBacks); // expected-warning{{Object sent -autorelease too many times}}
CFRelease(B); // no-warning CFRelease(B); // no-warning
while (1) {}
} }