[fine] Missed a test :O
This commit is contained in:
parent
f9c7591154
commit
ebad7fe295
1 changed files with 23 additions and 0 deletions
23
fine/tests/expression/variable.fine
Normal file
23
fine/tests/expression/variable.fine
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
// @concrete:
|
||||||
|
// | File
|
||||||
|
// | LetStatement
|
||||||
|
// | Let:'"let"'
|
||||||
|
// | Identifier:'"x"'
|
||||||
|
// | Equal:'"="'
|
||||||
|
// | LiteralExpression
|
||||||
|
// | Number:'"23"'
|
||||||
|
// | Semicolon:'";"'
|
||||||
|
// | ExpressionStatement
|
||||||
|
// | BinaryExpression
|
||||||
|
// | Identifier
|
||||||
|
// | Identifier:'"x"'
|
||||||
|
// | Star:'"*"'
|
||||||
|
// | LiteralExpression
|
||||||
|
// | Number:'"2"'
|
||||||
|
// | Semicolon:'";"'
|
||||||
|
// |
|
||||||
|
|
||||||
|
let x = 23;
|
||||||
|
x * 2;
|
||||||
|
|
||||||
|
// @type: 416 f64
|
||||||
Loading…
Add table
Add a link
Reference in a new issue