Do not warn with -Wuninitialized when the member is used in a sizeof or address-of...
[clang.git] / test / SemaObjC / alias-test-2.m
blob1f12b76055e883c41f7aa9b8e46bb0bb06ffd55b
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // Note: GCC doesn't produce any of the following errors.
4 @interface Super @end // expected-note {{previous definition is here}}
6 @interface MyWpModule @end  // expected-note {{previous definition is here}}
8 @compatibility_alias  MyAlias MyWpModule;
10 @compatibility_alias  AliasForSuper Super;
12 @interface MyAlias : AliasForSuper // expected-error {{duplicate interface definition for class 'MyWpModule'}}
13 @end
15 @implementation MyAlias : AliasForSuper // expected-error {{conflicting super class name 'Super'}}
16 @end