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