TDT4205/exercises/04/vslc/vsl_programs/ps4-symtab/shadow.vsl

17 lines
227 B
Plaintext

func main() begin
var a, b
a := 1
begin
var a
a := 2
b := 40
begin
var a
a := b + 2
print a, b
end
print a
end
print b
end