blob: 5844463d8e5686a8899f20e0814ceb0a532ee835 [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 closure result type '() -> Void'}}