Modified const and extern to always use blocks
This commit is contained in:
parent
ba34637dc1
commit
543558a02b
16 changed files with 164 additions and 90 deletions
|
@ -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
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue