summaryrefslogtreecommitdiffstats
path: root/test/Parser/objc-interfaces.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/objc-interfaces.m')
-rw-r--r--test/Parser/objc-interfaces.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/objc-interfaces.m b/test/Parser/objc-interfaces.m
index aac3faa..0ae17f1 100644
--- a/test/Parser/objc-interfaces.m
+++ b/test/Parser/objc-interfaces.m
@@ -3,6 +3,6 @@
// Test features and error recovery for objc interfaces.
@interface INTF
-- (int*) foo2 __attribute__((deprecated)) : (int) x1 __attribute__((deprecated)); // expected-error {{expected ';' after method prototype}}
+- (int*) foo2 __attribute__((deprecated)) : (int) x1 __attribute__((deprecated)); // expected-error {{expected ';' after method prototype}} expected-error {{method type specifier must start with '-' or '+'}}
@end
OpenPOWER on IntegriCloud