aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Analysis/refcnt_naming.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Analysis/refcnt_naming.m b/test/Analysis/refcnt_naming.m
index 9ffbf6c341..5af3711d25 100644
--- a/test/Analysis/refcnt_naming.m
+++ b/test/Analysis/refcnt_naming.m
@@ -16,6 +16,8 @@ typedef signed char BOOL;
-(NSObject*)__blebPRCopy; // read as "bleb PRCopy"
-(NSObject*)__blebPRcopy; // read as "bleb P Rcopy"
-(NSObject*)new_theprefixdoesnotcount; // read as "theprefixdoesnotcount"
+-(NSObject*)newestAwesomeStuff; // read as "newest awesome stuff"
+
@end
@interface MyClass : NSObject
@@ -48,6 +50,7 @@ void testNames(NamingTest* x) {
[x __blebPRCopy]; // expected-warning{{leak}}
[x __blebPRcopy]; // no-warning
[x new_theprefixdoesnotcount]; // no-warning
+ [x newestAwesomeStuff]; // no-warning
}