summaryrefslogtreecommitdiffstats
path: root/test/Index/index-kernel-invocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/index-kernel-invocation.cpp')
-rw-r--r--test/Index/index-kernel-invocation.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Index/index-kernel-invocation.cpp b/test/Index/index-kernel-invocation.cpp
new file mode 100644
index 0000000..dba8e6b
--- /dev/null
+++ b/test/Index/index-kernel-invocation.cpp
@@ -0,0 +1,4 @@
+// RUN: c-index-test -index-file -arch i386 -mkernel %s | FileCheck %s
+
+// CHECK: [indexDeclaration]: kind: function | name: foobar
+void foobar(void);
OpenPOWER on IntegriCloud