summaryrefslogtreecommitdiffstats
path: root/test/Parser/missing-end-2.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/missing-end-2.m')
-rw-r--r--test/Parser/missing-end-2.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Parser/missing-end-2.m b/test/Parser/missing-end-2.m
index 63dc965..e89f28e 100644
--- a/test/Parser/missing-end-2.m
+++ b/test/Parser/missing-end-2.m
@@ -1,19 +1,19 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// rdar: //7824372
-@interface A
+@interface A // expected-note {{class started here}}
-(void) im0;
-@implementation A // expected-error {{missing @end}}
+@implementation A // expected-error {{missing '@end'}}
@end
-@interface B {
+@interface B { // expected-note {{class started here}}
}
-@implementation B // expected-error {{missing @end}}
+@implementation B // expected-error {{missing '@end'}}
@end
-@interface C
+@interface C // expected-note 2 {{class started here}}
@property int P;
-@implementation C // expected-error 2 {{missing @end}}
+@implementation C // expected-error 2 {{missing '@end'}}
OpenPOWER on IntegriCloud