blob: 310017427855e7c606bc7ba51d9ce35f1b139089 [file] [log] [blame]
func throwingFunc() throws {
return
}
func foo() {
try! throwingFunc()
}
// RUN: %empty-directory(%t.result)
// RUN: %refactor -convert-to-do-catch -source-filename %s -pos=5:7 > %t.result/L5.swift
// RUN: diff -u %S/Outputs/basic_in_func/L5.swift.expected %t.result/L5.swift