From 938773d9cc062fd028f6560b1127a2ecd23f61c3 Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Tue, 27 Jan 2026 01:22:42 +0000 Subject: Fixed constant hex/oct bug + Fixed some of the examples (work in progress) + added bootloader example (I will add some docs) --- tests/misc/test_const_hex.zc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/misc/test_const_hex.zc (limited to 'tests') diff --git a/tests/misc/test_const_hex.zc b/tests/misc/test_const_hex.zc new file mode 100644 index 0000000..102207d --- /dev/null +++ b/tests/misc/test_const_hex.zc @@ -0,0 +1,13 @@ + +def CONST_HEX = 0x10; +def CONST_OCT = 010; + +fn main() { + if (CONST_HEX != 16) { + return 1; + } + if (CONST_OCT != 8) { + return 2; + } + return 0; +} -- cgit v1.2.3