1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/tests/global_names.py Tue Aug 30 18:59:33 2016 +0200
1.3 @@ -0,0 +1,11 @@
1.4 +class C:
1.5 + x = 3
1.6 +
1.7 +def f():
1.8 + x = g.x
1.9 + y = g
1.10 + return y.x
1.11 +
1.12 +g = C
1.13 +result = f()
1.14 +assert result == 3