Modified const and extern to always use blocks
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user