[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Index / complete-at-EOF.c
blobd039aaa1af18911575c9d5d3303b0afcfa2552fa
2 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test \
3 // RUN: -code-completion-at=%S/Inputs/complete-at-EOF.c:4:1 %S/Inputs/complete-at-EOF.c | FileCheck -check-prefix=CHECK-EOF %s
4 // CHECK-EOF: macro definition:{TypedText CAKE}
5 // CHECK-EOF: TypedefDecl:{TypedText foo}
7 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test \
8 // RUN: -code-completion-at=%S/Inputs/complete-at-EOF.c:2:1 %S/Inputs/complete-at-EOF.c | FileCheck -check-prefix=CHECK-AFTER-PREAMBLE %s
9 // CHECK-AFTER-PREAMBLE: macro definition:{TypedText CAKE}