'Test array expression with duplicated term'

def test_issue_1372(self):

    from numba import njit
    @njit
    def foo(a, b):
        b = np.sin(b)
        return ((b + b) + a)
    a = np.random.uniform(10)
    b = np.random.uniform(10)
    expect = foo.py_func(a, b)
    got = foo(a, b)
    np.testing.assert_allclose(got, expect)
