summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/04_bugs/15_segfault_on_prefix_increment
blob: 280b680fb316cc2ce8cdb976d5faa0863e72bbf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 --