# Diagnostics 三个文件**故意编译失败**,用来复现第 25 章「报错现场」的真实诊断。 ```bash swiftc -typecheck Diagnostics/CdeclString.swift # error: parameter cannot be represented in Objective-C swiftc -typecheck Diagnostics/CdeclMethod.swift # error: @_cdecl can only be applied to global functions swiftc -typecheck Diagnostics/ConventionCString.swift # error: not representable in Objective-C ```