Prep for new warning.
authorMike Stump <mrs@apple.com>
Tue, 21 Jul 2009 18:58:15 +0000 (18:58 +0000)
committerMike Stump <mrs@apple.com>
Tue, 21 Jul 2009 18:58:15 +0000 (18:58 +0000)
llvm-svn: 76619

clang/test/Analysis/retain-release.m

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