// 故意编译失败:非隔离的全局可变状态不并发安全。 // 复现:swiftc -swift-version 6 Diagnostics/GlobalMutable.swift var shared = 0 func bump() { shared += 1 }