From: Alex Lorenz Date: Tue, 20 Jun 2017 16:16:11 +0000 (+0000) Subject: Add a missing '[' to the tests from r305719 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=026fbae01b0717526f23327002db117c3bc13525;p=clang Add a missing '[' to the tests from r305719 This clarifies the tests as the missing ']' is important, and not the '['. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305804 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Parser/objc-at-implementation-eof-crash.m b/test/Parser/objc-at-implementation-eof-crash.m index 0dcece8179..76e56c1070 100644 --- a/test/Parser/objc-at-implementation-eof-crash.m +++ b/test/Parser/objc-at-implementation-eof-crash.m @@ -13,7 +13,7 @@ @implementation ClassB // expected-note {{implementation started here}} - (void) method:(ClassA *)mgr { // expected-note {{to match this '{'}} - mgr fileExistsAtPath:0 + [mgr fileExistsAtPath:0 } // expected-error {{expected ']'}} @implementation ClassC // \ diff --git a/test/Parser/objc-at-interface-eof-crash.m b/test/Parser/objc-at-interface-eof-crash.m index 485e810494..2c7bfd688f 100644 --- a/test/Parser/objc-at-interface-eof-crash.m +++ b/test/Parser/objc-at-interface-eof-crash.m @@ -13,7 +13,7 @@ @implementation ClassB // expected-note {{implementation started here}} - (void) method:(ClassA *)mgr { // expected-note {{to match this '{'}} - mgr fileExistsAtPath:0 + [mgr fileExistsAtPath:0 } // expected-error {{expected ']'}} @interface ClassC // \