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