blob: effe05a0d1a01557acb6c4c18665bf6a2f2826bd [file] [log] [blame]
// RUN: %target-typecheck-verify-swift %s
let b: () -> Void = withoutActuallyEscaping({ print("hello crash") }, do: { $0() })
// expected-error@-1 {{cannot convert value of type '()' to specified type '() -> Void'}}