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