summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/index-kernel-invocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Index/index-kernel-invocation.cpp')
-rw-r--r--clang/test/Index/index-kernel-invocation.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Index/index-kernel-invocation.cpp b/clang/test/Index/index-kernel-invocation.cpp
new file mode 100644
index 00000000000..dba8e6b91a0
--- /dev/null
+++ b/clang/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