summaryrefslogtreecommitdiff
path: root/Examples/test-suite/errors/swig_pythoncode_bad.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/errors/swig_pythoncode_bad.i')
-rw-r--r--Examples/test-suite/errors/swig_pythoncode_bad.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/Examples/test-suite/errors/swig_pythoncode_bad.i b/Examples/test-suite/errors/swig_pythoncode_bad.i
new file mode 100644
index 000000000..f1d497618
--- /dev/null
+++ b/Examples/test-suite/errors/swig_pythoncode_bad.i
@@ -0,0 +1,7 @@
+%module xxx
+
+%pythoncode %{
+ def foo():
+ a = 1 # This line starts with a tab instead of 8 spaces.
+ return 2
+%}