diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-01-23 22:21:24 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-01-26 10:47:56 +0100 |
commit | 04fa2baba6d615c49cf3f77986595da2a7783899 (patch) | |
tree | a346cc4d4fd630797dcc91aeb35f2d7bdf44233b /tests/custom/04_bugs/15_segfault_on_prefix_increment | |
parent | abe38e7e390cc17e6eae0ebe94d2006c548e095c (diff) |
tests: reorganize testcase files
- Rename 03_bugs to 04_bugs
- Rename 26_invalid_sparse_array_set to 27_invalid_sparse_array_set
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/custom/04_bugs/15_segfault_on_prefix_increment')
-rw-r--r-- | tests/custom/04_bugs/15_segfault_on_prefix_increment | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/custom/04_bugs/15_segfault_on_prefix_increment b/tests/custom/04_bugs/15_segfault_on_prefix_increment new file mode 100644 index 0000000..280b680 --- /dev/null +++ b/tests/custom/04_bugs/15_segfault_on_prefix_increment @@ -0,0 +1,18 @@ +When parsing an invalid pre- or post-decrement expression as first +statement of a source buffer, the compiler crashed while attempting +to look up the type of the previous instruction within a not-yet +allocated chunk buffer. + +-- Expect stderr -- +Syntax error: Unterminated string +In line 1, byte 6: + + `{% ++"` + ^-- Near here + + +-- End -- + +-- Testcase -- +{% ++" +-- End -- |