]> granicus.if.org Git - clang/commitdiff
Add a missing '[' to the tests from r305719
authorAlex Lorenz <arphaman@gmail.com>
Tue, 20 Jun 2017 16:16:11 +0000 (16:16 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 20 Jun 2017 16:16:11 +0000 (16:16 +0000)
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

test/Parser/objc-at-implementation-eof-crash.m
test/Parser/objc-at-interface-eof-crash.m

index 0dcece81795e4104706c10de13347d1ad8aaede4..76e56c10703e0ba1ef32f170a731d36639ed867c 100644 (file)
@@ -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 //              \
index 485e810494bb563990e51f719d2256303ef8c4e3..2c7bfd688f06c7e9e09111aa3474828d48874d6b 100644 (file)
@@ -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 //                   \