Test negative integer literal
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This commit is contained in:
Bruno BELANYI 2025-03-12 21:33:34 +00:00
parent bb0d5d6a40
commit 4c2a1d0012

View file

@ -20,6 +20,35 @@ foo = 42
--------------------------------------------------------------------------------
(source_file
(assignment
(identifier)
(operator)
(integer_literal)))
================================================================================
Integer literal (negative)
================================================================================
foo = -42
--------------------------------------------------------------------------------
(source_file
(assignment
(identifier)
(operator)
(integer_literal)))
================================================================================
Integer literal (negative space)
================================================================================
foo = - 42
--------------------------------------------------------------------------------
(source_file
(assignment
(identifier)