summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/index-file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Index/index-file.cpp')
-rw-r--r--clang/test/Index/index-file.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Index/index-file.cpp b/clang/test/Index/index-file.cpp
index bf2d62c5568..7634c0db863 100644
--- a/clang/test/Index/index-file.cpp
+++ b/clang/test/Index/index-file.cpp
@@ -1,5 +1,9 @@
using MyTypeAlias = int;
+extern "C" {
+ template < typename T > *Allocate() { }
+}
+
// RUN: c-index-test -index-file %s > %t
// RUN: FileCheck %s -input-file=%t
OpenPOWER on IntegriCloud