summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/check-dup-objc-decls-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/check-dup-objc-decls-1.m')
-rw-r--r--clang/test/SemaObjC/check-dup-objc-decls-1.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/SemaObjC/check-dup-objc-decls-1.m b/clang/test/SemaObjC/check-dup-objc-decls-1.m
index 28c6068afd0..fa9b8674be0 100644
--- a/clang/test/SemaObjC/check-dup-objc-decls-1.m
+++ b/clang/test/SemaObjC/check-dup-objc-decls-1.m
@@ -1,11 +1,11 @@
// RUN: clang -fsyntax-only -verify %s
-@interface Foo // expected-error {{previous definition is here}}
+@interface Foo // expected-note {{previous definition is here}}
@end
float Foo; // expected-error {{redefinition of 'Foo' as different kind of symbol}}
-@class Bar; // expected-error {{previous definition is here}}
+@class Bar; // expected-note {{previous definition is here}}
typedef int Bar; // expected-error {{redefinition of 'Bar' as different kind of symbol}}
@@ -13,12 +13,12 @@ typedef int Bar; // expected-error {{redefinition of 'Bar' as different kind of
@end
-typedef int OBJECT; // expected-error {{previous definition is here}}
+typedef int OBJECT; // expected-note {{previous definition is here}}
@class OBJECT ; // expected-error {{redefinition of 'OBJECT' as different kind of symbol}}
-typedef int Gorf; // expected-error {{previous definition is here}}
+typedef int Gorf; // expected-note {{previous definition is here}}
@interface Gorf @end // expected-error {{redefinition of 'Gorf' as different kind of symbol}}
OpenPOWER on IntegriCloud