From ae63cf0b6425ec25fef4819e491ead5fcbceff93 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 13 Feb 2009 00:39:34 +0000 Subject: [PATCH] This test now passes. llvm-svn: 64417 --- clang/test/Analysis/CFDateGC.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clang/test/Analysis/CFDateGC.m b/clang/test/Analysis/CFDateGC.m index 09d8ab3afa47..8b702d920365 100644 --- a/clang/test/Analysis/CFDateGC.m +++ b/clang/test/Analysis/CFDateGC.m @@ -1,7 +1,6 @@ // RUN: clang -analyze -checker-cfref -verify -fobjc-gc %s && +// RUN: clang -analyze -checker-cfref -verify -fobjc-gc -disable-free %s && // RUN: clang -analyze -checker-cfref -analyzer-store-region -verify -fobjc-gc %s -// XFAIL -// fails due to exact diagnostic matching //===----------------------------------------------------------------------===// // The following code is reduced using delta-debugging from @@ -71,7 +70,7 @@ CFAbsoluteTime f2_noleak() { } void f3_leak_with_gc() { - CFDateRef date = CFDateCreate(0, CFAbsoluteTimeGetCurrent()); // expected-warning{{leak}} + CFDateRef date = CFDateCreate(0, CFAbsoluteTimeGetCurrent()); // expected-warning 2 {{leak}} [[(id) date retain] release]; }