# test_assign_try_except_typing_predeclared.py
# This should pass.

def testfunc():
    e: Exception
    try:
        pass
    except Exception as e:
        pass
    return 42
# def test_assign_try_except_typing_predeclared(self):
#     codestr = """
#         def testfunc():
#             e: Exception
#             try:
#                 pass
#             except Exception as e:
#                 pass
#             return 42
#     """
#     # We don't do anything special w/ Exception type yet, but it should compile
#     code = self.compile(codestr, modname="foo")
