Avatar
@swift-main class C {} func test() { var owner: C? = C() unowned var consumer: C? = owner print(consumer) owner = nil print(consumer) } test()