Sign in
fuchsia
/
third_party
/
swift
/
ad82fe6c700ee1593e8c0b2db88075561c46d4c9
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0148-rdar35773761.swift
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'}}