blob: 42adf87b894f841b41bfb652e20adde310f6cce6 [file] [log] [blame]
func throwingFunc() throws -> [Int] {
return []
}
struct X { let array: [Int] }
do {
let _ = X(array: try throwingFunc())
} catch {
<#code#>
}