forked from OSchip/llvm-project
parent
1b1a711eb3
commit
494e98d0e5
|
@ -80,7 +80,7 @@ extern NSString *NSWindowDidBecomeKeyNotification;
|
||||||
{
|
{
|
||||||
NSPanel *panel = [[NSPanel alloc] initWithContentRect:NSMakeRect(0, 0, 200, 200) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:(BOOL)1];
|
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
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue