This test now passes.

llvm-svn: 64417
This commit is contained in:
Ted Kremenek 2009-02-13 00:39:34 +00:00
parent e21993fa98
commit ae63cf0b64
1 changed files with 2 additions and 3 deletions

View File

@ -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];
}