From 061c510a5f4947a1105abb05021181bd5196e935 Mon Sep 17 00:00:00 2001 From: Gusarich Date: Mon, 12 Feb 2024 11:29:39 +0300 Subject: [PATCH] add test case 28 --- src/grammar/test/case-28.tact | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/grammar/test/case-28.tact diff --git a/src/grammar/test/case-28.tact b/src/grammar/test/case-28.tact new file mode 100644 index 000000000..d6cf98949 --- /dev/null +++ b/src/grammar/test/case-28.tact @@ -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; +} \ No newline at end of file