aboutsummaryrefslogtreecommitdiff
path: root/test/Index/complete-exprs.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/complete-exprs.m')
-rw-r--r--test/Index/complete-exprs.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Index/complete-exprs.m b/test/Index/complete-exprs.m
index dfa114dcc095..08ec019003f3 100644
--- a/test/Index/complete-exprs.m
+++ b/test/Index/complete-exprs.m
@@ -10,7 +10,7 @@ typedef signed char BOOL;
__strong id global;
@implementation A
- (int)method:(id)param1 {
- void foo(id (^block)(id x, A* y));
+ void foo(bool (^block)(id x, A* y));
for(BOOL B = YES; ; ) { }
}
@end
@@ -29,6 +29,6 @@ __strong id global;
// CHECK-CC2: NotImplemented:{TypedText sizeof}{LeftParen (}{Placeholder expression-or-type}{RightParen )} (40)
// RUN: c-index-test -code-completion-at=%s:15:1 -fobjc-arc -fobjc-nonfragile-abi %s | FileCheck -check-prefix=CHECK-CC3 %s
// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%s:15:1 -fobjc-arc -fobjc-nonfragile-abi %s | FileCheck -check-prefix=CHECK-CC3 %s
-// CHECK-CC3: FunctionDecl:{ResultType void}{TypedText foo}{LeftParen (}{Placeholder ^id(id x, A *y)block}{RightParen )} (34)
+// CHECK-CC3: FunctionDecl:{ResultType void}{TypedText foo}{LeftParen (}{Placeholder ^bool(id x, A *y)block}{RightParen )} (34)
// CHECK-CC3: VarDecl:{ResultType id}{TypedText global} (50)
// CHECK-CC3: ParmDecl:{ResultType id}{TypedText param1} (34)