[cfe-commits] r58024 - /cfe/trunk/test/Analysis/refcnt_naming.m
Ted Kremenek
kremenek at apple.com
Wed Oct 22 18:57:32 PDT 2008
Author: kremenek
Date: Wed Oct 22 20:57:31 2008
New Revision: 58024
URL: http://llvm.org/viewvc/llvm-project?rev=58024&view=rev
Log:
Temporarily mark this test XFAIL.
Modified:
cfe/trunk/test/Analysis/refcnt_naming.m
Modified: cfe/trunk/test/Analysis/refcnt_naming.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/refcnt_naming.m?rev=58024&r1=58023&r2=58024&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/refcnt_naming.m (original)
+++ cfe/trunk/test/Analysis/refcnt_naming.m Wed Oct 22 20:57:31 2008
@@ -1,4 +1,5 @@
// RUN: clang -checker-cfref -verify %s
+// XFAIL
typedef const struct __CFString * CFStringRef;
typedef const struct __CFAllocator * CFAllocatorRef;
@@ -19,8 +20,8 @@
- (NSURL *)myMethod:(NSString *)inString
{
- NSURL *url = (NSURL *)CFURLCreateWithString(0, (CFStringRef)inString, 0);
- return url; // expected-warning{{leak}}
+ NSURL *url = (NSURL *)CFURLCreateWithString(0, (CFStringRef)inString, 0);
+ return url; // expected-warning{{leak}}
}
@end
More information about the cfe-commits
mailing list