aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-18 02:10:40 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-18 02:10:40 +0000
commit833ba9c6913d825016b432b0c4e4f784b1a9eb87 (patch)
treecd7aca25c2b188e1007c5f6886ec2f7bbcfe96b8
parentac5fd8404fa8ecfae28be76f98fd0d926350354c (diff)
Add another text for code completion after recovery
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114257 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Index/complete-recovery.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Index/complete-recovery.m b/test/Index/complete-recovery.m
index 0b558f81ab..ef9f817196 100644
--- a/test/Index/complete-recovery.m
+++ b/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