Modified const and extern to always use blocks

This commit is contained in:
2025-04-05 19:34:50 +02:00
parent ba34637dc1
commit 543558a02b
16 changed files with 164 additions and 90 deletions

View File

@ -1,12 +1,14 @@
num const {
one 1
two 2
three 3
}
main() {
assert num.one == 1
assert num.two == 2
assert num.three == 3
assert num.one + num.two == num.three
}
const {
num {
one 1
two 2
three 3
}
}