1# mode: run
2# ticket: t768
3from cython cimport typeof
4
5def type_inference_del_int():
6    """
7    >>> type_inference_del_int()
8    'Python object'
9    """
10    x = 1
11    del x
12    return typeof(x)
13
14def type_inference_del_dict():
15    """
16    >>> type_inference_del_dict()
17    'dict object'
18    """
19    x = {}
20    del x
21    return typeof(x)
22