blob: f7e7d413342221ddf7beb0f9c6c09d1f714b5d5e [file] [log] [blame]
func throwingFunc() throws {
return
}
func foo() {
try! throwingFunc()
}
// RUN: rm -rf %t.result && mkdir -p %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