aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Analysis/NSPanel.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/NSPanel.m b/test/Analysis/NSPanel.m
index c7aed63c8c..cbd0056ebf 100644
--- a/test/Analysis/NSPanel.m
+++ b/test/Analysis/NSPanel.m
@@ -80,7 +80,7 @@ extern NSString *NSWindowDidBecomeKeyNotification;
{
NSPanel *panel = [[NSPanel alloc] initWithContentRect:NSMakeRect(0, 0, 200, 200) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:(BOOL)1];
- [panel addObject:panel]; // expected-warning{{leak}}
+ [panels addObject:panel]; // expected-warning{{leak}}
}
@end