test for recurring use of variable name with gotos, #315

This commit is contained in:
Dave Halter
2014-03-28 02:01:57 +01:00
parent 16e3e327d3
commit 5b7843747c

View File

@@ -91,6 +91,11 @@ ClassVar.x = ''
#! 12 ['x = 3']
ClassVar().x = ''
# Recurring use of the same var name, github #315
def f(t=None):
#! 9 ['t=None']
t = t or 1
# -----------------
# imports
# -----------------