summaryrefslogtreecommitdiff
path: root/Examples/test-suite/errors/cpp_template_nargs.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/errors/cpp_template_nargs.i')
-rw-r--r--Examples/test-suite/errors/cpp_template_nargs.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/Examples/test-suite/errors/cpp_template_nargs.i b/Examples/test-suite/errors/cpp_template_nargs.i
new file mode 100644
index 0000000..1a4fbdc
--- /dev/null
+++ b/Examples/test-suite/errors/cpp_template_nargs.i
@@ -0,0 +1,10 @@
+%module xxx
+
+template<typename T> T blah(T x) { };
+
+%template(blahi) blah<int,double>;
+%template(blahf) blah<>;
+
+
+
+