staticvoid__main_block_func_0(struct__main_block_impl_0*__cself){__Block_byref_a_0*a=__cself->a;// bound by refprintf("%d\n",(a->__forwarding->a));}struct__Block_byref_a_0{void*__isa;__Block_byref_a_0*__forwarding;int__flags;int__size;inta;};
我们看到局部变量a变成一个构造体对象,而不再是一个整形变量,结构体里包含它原来的整形变量。bound by ref这个注释也表明此时已变成引用传递