]> granicus.if.org Git - clang/commitdiff
Temporarily mark this test XFAIL.
authorTed Kremenek <kremenek@apple.com>
Thu, 23 Oct 2008 01:57:31 +0000 (01:57 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 23 Oct 2008 01:57:31 +0000 (01:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58024 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/refcnt_naming.m

index a923ebaad6e84c0a790a7ad42a35539ece32cdd1..5b8b5d18bca845fcba0a1b4252e6d745f8842682 100644 (file)
@@ -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 @@ typedef signed char BOOL;
 
 - (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