summaryrefslogtreecommitdiff
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, 1 insertions, 2 deletions
diff --git a/test/SemaObjC/method-no-context.m b/test/SemaObjC/method-no-context.m
index 3c45beef04262..c0875493b44b9 100644
--- a/test/SemaObjC/method-no-context.m
+++ b/test/SemaObjC/method-no-context.m
@@ -1,5 +1,4 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
-- im0 { // expected-note{{to match this '{'}} expected-error{{missing context for method declaration}}
+- im0 { // expected-error{{missing context for method declaration}}
int a; return 0;
-// expected-error{{expected '}'}}