diff options
Diffstat (limited to 'clang/test/Analysis/NSWindow.m')
| -rw-r--r-- | clang/test/Analysis/NSWindow.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Analysis/NSWindow.m b/clang/test/Analysis/NSWindow.m index 93ab871e16f..4cab918f50c 100644 --- a/clang/test/Analysis/NSWindow.m +++ b/clang/test/Analysis/NSWindow.m @@ -69,7 +69,8 @@ void f2() { } void f2b() { - NSWindow *window = [[NSWindow alloc] // expected-warning{{leak}} + // FIXME: NSWindow doesn't own itself until it is displayed. + NSWindow *window = [[NSWindow alloc] // no-warning initWithContentRect:NSMakeRect(0,0,100,100) styleMask:NSTitledWindowMask|NSClosableWindowMask backing:NSBackingStoreBuffered |

