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