Modified const and extern to always use blocks

This commit is contained in:
Eduard Urbach 2025-04-05 19:34:50 +02:00
parent ba34637dc1
commit 543558a02b
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
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
}
}