diff options
Diffstat (limited to 'clang/test/SemaObjC/alias-test-2.m')
-rw-r--r-- | clang/test/SemaObjC/alias-test-2.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/alias-test-2.m b/clang/test/SemaObjC/alias-test-2.m index 5f3bfcbba75..bdaeefe5a36 100644 --- a/clang/test/SemaObjC/alias-test-2.m +++ b/clang/test/SemaObjC/alias-test-2.m @@ -3,13 +3,13 @@ // Note: GCC doesn't produce any of the following errors. @interface Super @end // expected-error {{previous definition is here}} -@interface MyWpModule @end +@interface MyWpModule @end // expected-note {{previous definition is here}} @compatibility_alias MyAlias MyWpModule; @compatibility_alias AliasForSuper Super; -@interface MyAlias : AliasForSuper // expected-error {{duplicate interface declaration for class 'MyWpModule'}} +@interface MyAlias : AliasForSuper // expected-error {{duplicate interface definition for class 'MyWpModule'}} @end @implementation MyAlias : AliasForSuper // expected-error {{conflicting super class name 'Super'}} |