'Incorrect return data model'

def test_issue_1808(self):

    magic = 3735928559
    @njit
    def generator():
        (yield magic)
    @njit
    def get_generator():
        return generator()
    @njit
    def main():
        out = 0
        for x in get_generator():
            out += x
        return out
    self.assertEqual(main(), magic)
