diff --git a/clang/test/Index/complete-recovery.m b/clang/test/Index/complete-recovery.m index 0b558f81ab72..ef9f81719602 100644 --- a/clang/test/Index/complete-recovery.m +++ b/clang/test/Index/complete-recovery.m @@ -12,6 +12,7 @@ z = [a2 method:1]; blah ? blech : [a2 method:1]; (a * a2)([a2 method:1]); + B *a = [a2 method:1]; } @end @@ -31,3 +32,4 @@ // CHECK-CC3: ObjCInstanceMethodDecl:{ResultType void}{TypedText method:}{Placeholder (int)} (17) // RUN: c-index-test -code-completion-at=%s:13:22 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC3 %s // RUN: c-index-test -code-completion-at=%s:14:16 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC3 %s +// RUN: c-index-test -code-completion-at=%s:15:14 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC3 %s