Do not warn with -Wuninitialized when the member is used in a sizeof or address-of...
[clang.git] / test / SemaObjC / class-extension-after-implementation.m
blob2d8a5b1d4d80547bc12c48ddd8a6072ef9aee2c9
1 // RUN: %clang_cc1  -fsyntax-only -verify %s
2 // rdar://7822210
4 @interface A @end
6 @implementation A @end // expected-note {{class implementation is declared here}}
8 @interface A () // expected-error {{cannot declare class extension for 'A' after class implementation}}
9 -(void) im0;
10 @end