aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/errors/swig_apply_nargs.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/errors/swig_apply_nargs.i')
-rw-r--r--Examples/test-suite/errors/swig_apply_nargs.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/Examples/test-suite/errors/swig_apply_nargs.i b/Examples/test-suite/errors/swig_apply_nargs.i
new file mode 100644
index 000000000..bb1519c1e
--- /dev/null
+++ b/Examples/test-suite/errors/swig_apply_nargs.i
@@ -0,0 +1,6 @@
+%module xxx
+
+%typemap(in) (char *str, int len) {
+}
+
+%apply (char *str, int len) { int x };