diff options
Diffstat (limited to 'progs/tests/scoping.sy')
| -rw-r--r-- | progs/tests/scoping.sy | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/progs/tests/scoping.sy b/progs/tests/scoping.sy index 7679948..dfcf92c 100644 --- a/progs/tests/scoping.sy +++ b/progs/tests/scoping.sy @@ -1,13 +1,16 @@ -a : int = 1 -{ +start :: fn { + a : int = 1 + { + a <=> 1 + a : int = a + a + a <=> 2 + } a <=> 1 - a : int = a + a - a <=> 2 -} -a <=> 1 -{ - a = 2 - a : int = 1 + { + a = 2 + a : int = 1 + a + } + a <=> 2 } -a <=> 2 |
