'Issue 1868'

def test_optional_thru_omitted_arg(self):

    def pyfunc(x=None):
        if (x is None):
            x = 1
        return x
    cfunc = njit(pyfunc)
    self.assertEqual(pyfunc(), cfunc())
    self.assertEqual(pyfunc(3), cfunc(3))
