'Type annotation of array expressions with disambiguated
variable names (issue #1466).'

def test_annotations(self):

    cfunc = njit(variable_name_reuse)
    a = np.linspace(0, 1, 10)
    cfunc(a, a, a, a)
    buf = utils.StringIO()
    cfunc.inspect_types(buf)
    res = buf.getvalue()
    self.assertIn('#            u.1    =    ', res)
    self.assertIn('#            u.2    =    ', res)
