Add another text for code completion after recovery

llvm-svn: 114257
This commit is contained in:
Douglas Gregor 2010-09-18 02:10:40 +00:00
parent aef6499bf1
commit 112b51e72d
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@
z = [a2 method:1]; z = [a2 method:1];
blah ? blech : [a2 method:1]; blah ? blech : [a2 method:1];
(a * a2)([a2 method:1]); (a * a2)([a2 method:1]);
B *a = [a2 method:1];
} }
@end @end
@ -31,3 +32,4 @@
// CHECK-CC3: ObjCInstanceMethodDecl:{ResultType void}{TypedText method:}{Placeholder (int)} (17) // 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: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: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