summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/dynamic_loading_template.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/headers/dynamic_loading_template.hpp')
-rw-r--r--bindgen-tests/tests/headers/dynamic_loading_template.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/dynamic_loading_template.hpp b/bindgen-tests/tests/headers/dynamic_loading_template.hpp
new file mode 100644
index 00000000..27f04c8e
--- /dev/null
+++ b/bindgen-tests/tests/headers/dynamic_loading_template.hpp
@@ -0,0 +1,10 @@
+// bindgen-flags: --dynamic-loading TestLib
+
+template<typename T>
+T foo(T x);
+
+template<>
+int foo(int x);
+
+template<>
+float foo(float x);