Add in-lang scope test

This commit is contained in:
Neemek 2025-03-10 16:33:04 +01:00
parent e8d8731922
commit ae7d6c5359
Signed by: neemek
GPG key ID: 28360A8951CD0E9B

12
tests/scope.ang Normal file
View file

@ -0,0 +1,12 @@
a := 2
{
a := 3
assert(a == 3)
a = 4
assert(a == 4)
}
assert(a == 2)