Trace 0:
  Transitions:
    'returning'
  Return value:
    repr(): PointerToRegion(gcctype='struct PyObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/attributes/steals-reference-to-arg/incorrect-marking/input.c', line=46), region=RegionForGlobal(gcc.VarDecl('_Py_NoneStruct')))
    str(): (struct PyObject *)&RegionForGlobal(gcc.VarDecl('_Py_NoneStruct')) from tests/cpychecker/refcounts/attributes/steals-reference-to-arg/incorrect-marking/input.c:46
    r->ob_refcnt: refs: 1 owned, 1 borrowed
    r->ob_type: None
  region for gcc.ParmDecl('foo') on stack:
    repr(): RegionOnStack("region for gcc.ParmDecl('foo')")
    str(): region for gcc.ParmDecl('foo') on stack
    r->ob_refcnt: refs: 0 owned, 1 borrowed
    r->ob_type: PointerToRegion(gcctype='struct PyTypeObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/attributes/steals-reference-to-arg/incorrect-marking/input.c', line=40), region=Region("region-for-type-of-arg-gcc.ParmDecl('foo')"))
  region for gcc.ParmDecl('bar') on stack:
    repr(): RegionOnStack("region for gcc.ParmDecl('bar')")
    str(): region for gcc.ParmDecl('bar') on stack
    r->ob_refcnt: refs: 0 owned, 1 borrowed
    r->ob_type: PointerToRegion(gcctype='struct PyTypeObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/attributes/steals-reference-to-arg/incorrect-marking/input.c', line=40), region=Region("region-for-type-of-arg-gcc.ParmDecl('bar')"))
  Exception:
    (struct PyObject *)0 from tests/cpychecker/refcounts/attributes/steals-reference-to-arg/incorrect-marking/input.c:41
