summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/method-no-context.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/method-no-context.m')
-rw-r--r--test/SemaObjC/method-no-context.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/SemaObjC/method-no-context.m b/test/SemaObjC/method-no-context.m
index c88205df..3c45bee 100644
--- a/test/SemaObjC/method-no-context.m
+++ b/test/SemaObjC/method-no-context.m
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
-- im0 { int a; return 0; // expected-error{{missing context for method declaration}}
+- im0 { // expected-note{{to match this '{'}} expected-error{{missing context for method declaration}}
+ int a; return 0;
// expected-error{{expected '}'}}
OpenPOWER on IntegriCloud