Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-08-20-a
/
.
/
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'}}