aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/errors/pp_error_directive.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/errors/pp_error_directive.i')
-rw-r--r--Examples/test-suite/errors/pp_error_directive.i9
1 files changed, 9 insertions, 0 deletions
diff --git a/Examples/test-suite/errors/pp_error_directive.i b/Examples/test-suite/errors/pp_error_directive.i
new file mode 100644
index 000000000..851528418
--- /dev/null
+++ b/Examples/test-suite/errors/pp_error_directive.i
@@ -0,0 +1,9 @@
+%module xxx
+
+#warning Print this warning
+
+#error This is an error
+
+#error Another error
+
+#warning Another warning