diff options
Diffstat (limited to 'clang/test/Index/complete-and-plugins.c')
-rw-r--r-- | clang/test/Index/complete-and-plugins.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Index/complete-and-plugins.c b/clang/test/Index/complete-and-plugins.c new file mode 100644 index 00000000000..0592aaa9ef3 --- /dev/null +++ b/clang/test/Index/complete-and-plugins.c @@ -0,0 +1,6 @@ +// RUN: c-index-test -code-completion-at=%s:7:1 -load %llvmshlibdir/PrintFunctionNames%pluginext -add-plugin print-fns %s | FileCheck %s +// REQUIRES: plugins, examples +// CHECK: macro definition:{{.*}} +// CHECK-NOT: top-level-decl: "x" + +void x(); |