Test negative integer literal
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This commit is contained in:
parent
bb0d5d6a40
commit
4c2a1d0012
1 changed files with 29 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue