// Test global global g = 3; assert_true(g == 3); var v := g; assert_true(v == 3); global g = 2; assert_true(g == 2); assert_true(v == 2); def f() { assert_true(g == 2); } f();