'Issue #2263
Linkage error due to multiple definition of global tracking symbol.'

def test_indirect_multiple_use(self):

    my_sin = mod.cffi_sin
    @jit(nopython=True)
    def inner(x):
        return my_sin(x)
    @jit(nopython=True)
    def foo(x):
        return (inner(x) + my_sin((x + 1)))
    x = 1.123
    self.assertEqual(foo(x), (my_sin(x) + my_sin((x + 1))))
