summaryrefslogtreecommitdiff
path: root/Examples/test-suite/errors/swig_pythoncode_bad3.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/errors/swig_pythoncode_bad3.i')
-rw-r--r--Examples/test-suite/errors/swig_pythoncode_bad3.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/Examples/test-suite/errors/swig_pythoncode_bad3.i b/Examples/test-suite/errors/swig_pythoncode_bad3.i
new file mode 100644
index 000000000..5759158d9
--- /dev/null
+++ b/Examples/test-suite/errors/swig_pythoncode_bad3.i
@@ -0,0 +1,7 @@
+%module xxx
+
+%pythoncode %{
+ def extra():
+ print "extra a" # indentation is 2 spaces then tab
+ print "extra b" # indentation is tab then 2 spaces
+%}