summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/DoubleMethod.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/DoubleMethod.m')
-rw-r--r--clang/test/SemaObjC/DoubleMethod.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/DoubleMethod.m b/clang/test/SemaObjC/DoubleMethod.m
index 70c7ed55f1e..07e89120fb8 100644
--- a/clang/test/SemaObjC/DoubleMethod.m
+++ b/clang/test/SemaObjC/DoubleMethod.m
@@ -10,7 +10,7 @@
@end
@implementation Subclass
-- (void) method {;} // expected-error {{previous declaration is here}}
+- (void) method {;} // expected-note {{previous declaration is here}}
- (void) method {;} // expected-error {{duplicate declaration of method 'method'}}
@end
OpenPOWER on IntegriCloud