Skip to content

Commit

Permalink
add test case 28
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusarich committed Feb 12, 2024
1 parent 0c75d26 commit 061c510
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/grammar/test/case-28.tact
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
fun test_fun(): Int {
let a: Int = 123;
let b: Int = -123;
let c: Int = 1_0123_00__000;
let d: Int = 0x123;
let e: Int = -0x123;
let f: Int = 0x1_0123_00__000;
let g: Int = 0b101010;
let h: Int = -0b101010;
let i: Int = 0b1_0101_00__000;
let j: Int = 0o123;
let k: Int = -0o123;
let l: Int = 0o1_0123_00__000;
return a + b + c + d + e + f + g + h + i + j + k + l;
}

0 comments on commit 061c510

Please sign in to comment.