def del_before_definition(rec):
 n = 5
 for i in range(n):
  rec.mark(str(i))
  n = 0
  for j in range(n):
   return 0
  else:
   if (i < 2):
    continue
   elif (i == 2):
    for j in range(i):
     return i
    rec.mark('FAILED')
   rec.mark('FAILED')
  rec.mark('FAILED')
 rec.mark('OK')
 return (-1)

def del_before_definition ( rec ) : n = 5 for i in range ( n ) : rec . mark ( str ( i ) ) n = 0 for j in range ( n ) : return 0 else : if ( i < 2 ) : continue elif ( i == 2 ) : for j in range ( i ) : return i rec . mark ( 'FAILED' ) rec . mark ( 'FAILED' ) rec . mark ( 'FAILED' ) rec . mark ( 'OK' ) return ( - 1 )
this test reveal a bug that there is a del on uninitialized variable .