diff options
author | Olly Betts <olly@survex.com> | 2015-01-08 13:20:37 +1300 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2015-01-08 13:26:39 +1300 |
commit | 8fbdd75a0b1a4f4728c430d4888bdca7b25427f8 (patch) | |
tree | 33280274b4cbc639c75e52095ec75f2648fa1a80 | |
parent | ce90ff6a77e32d97670eb6bc97b114b84af9dc4c (diff) | |
download | swig-8fbdd75a0b1a4f4728c430d4888bdca7b25427f8.tar.gz |
Add test coverage for unterminated %{ ... %} block
-rw-r--r-- | Examples/test-suite/errors/pp_unterminated_block.i | 5 | ||||
-rw-r--r-- | Examples/test-suite/errors/pp_unterminated_block.stderr | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Examples/test-suite/errors/pp_unterminated_block.i b/Examples/test-suite/errors/pp_unterminated_block.i new file mode 100644 index 000000000..99f5f0bc2 --- /dev/null +++ b/Examples/test-suite/errors/pp_unterminated_block.i @@ -0,0 +1,5 @@ +%module xxx + +%{ +int foo(int x); + diff --git a/Examples/test-suite/errors/pp_unterminated_block.stderr b/Examples/test-suite/errors/pp_unterminated_block.stderr new file mode 100644 index 000000000..03c16a45f --- /dev/null +++ b/Examples/test-suite/errors/pp_unterminated_block.stderr @@ -0,0 +1 @@ +pp_unterminated_block.i:3: Error: Unterminated %{ ... %} block |