summaryrefslogtreecommitdiff
path: root/Examples/test-suite/errors/pp_unknowndirective.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/errors/pp_unknowndirective.i')
-rw-r--r--Examples/test-suite/errors/pp_unknowndirective.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/Examples/test-suite/errors/pp_unknowndirective.i b/Examples/test-suite/errors/pp_unknowndirective.i
new file mode 100644
index 000000000..659a997d3
--- /dev/null
+++ b/Examples/test-suite/errors/pp_unknowndirective.i
@@ -0,0 +1,7 @@
+%module xxx
+
+/* This used to give the rather cryptic "Syntax error in input(1)." prior to
+ * SWIG 3.0.4. This testcase checks that the improved message is actually
+ * issued.
+ */
+%remane("typo") tyop;