summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/99_bugs/37_compiler_unexpected_unary_op
blob: e65231988ab440a672c268b66f184d669701b026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
When compiling expressions followed by a unary operator, the compiler
triggered a segmentation fault due to invoking an unset infix parser
routine.

-- Testcase --
1~1
-- End --

-- Args --
-R
-- End --

-- Expect stderr --
Syntax error: Expecting ';' or binary operator
In line 1, byte 2:

 `1~1`
   ^-- Near here


-- End --