summaryrefslogtreecommitdiffstats
path: root/test/Index/annotate-tokens-include.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/annotate-tokens-include.c')
-rw-r--r--test/Index/annotate-tokens-include.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Index/annotate-tokens-include.c b/test/Index/annotate-tokens-include.c
new file mode 100644
index 0000000..3c3c43b
--- /dev/null
+++ b/test/Index/annotate-tokens-include.c
@@ -0,0 +1,6 @@
+#include "annotate-tokens-include.h"
+
+// RUN: c-index-test -test-annotate-tokens=%s:1:1:2:1 %s | FileCheck %s
+// CHECK: Identifier: "include" [1:2 - 1:9] preprocessing directive=
+// CHECK: Literal: ""annotate-tokens-include.h"" [1:10 - 1:37] preprocessing directive=
+
OpenPOWER on IntegriCloud