Add test coverage for unterminated %{ ... %} block
This commit is contained in:
parent
ce90ff6a77
commit
8fbdd75a0b
2 changed files with 6 additions and 0 deletions
5
Examples/test-suite/errors/pp_unterminated_block.i
Normal file
5
Examples/test-suite/errors/pp_unterminated_block.i
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
%module xxx
|
||||
|
||||
%{
|
||||
int foo(int x);
|
||||
|
||||
1
Examples/test-suite/errors/pp_unterminated_block.stderr
Normal file
1
Examples/test-suite/errors/pp_unterminated_block.stderr
Normal file
|
|
@ -0,0 +1 @@
|
|||
pp_unterminated_block.i:3: Error: Unterminated %{ ... %} block
|
||||
Loading…
Add table
Add a link
Reference in a new issue